diff --git a/spec/minipack/rails/command_runner_spec.rb b/spec/minipack/command_runner_spec.rb similarity index 100% rename from spec/minipack/rails/command_runner_spec.rb rename to spec/minipack/command_runner_spec.rb diff --git a/spec/minipack/rails/configuration_spec.rb b/spec/minipack/configuration_spec.rb similarity index 100% rename from spec/minipack/rails/configuration_spec.rb rename to spec/minipack/configuration_spec.rb diff --git a/spec/minipack/rails/file_change_watcher_spec.rb b/spec/minipack/file_change_watcher_spec.rb similarity index 100% rename from spec/minipack/rails/file_change_watcher_spec.rb rename to spec/minipack/file_change_watcher_spec.rb diff --git a/spec/minipack/rails/helper_spec.rb b/spec/minipack/helper_spec.rb similarity index 93% rename from spec/minipack/rails/helper_spec.rb rename to spec/minipack/helper_spec.rb index 2c49bc4..13f0397 100644 --- a/spec/minipack/rails/helper_spec.rb +++ b/spec/minipack/helper_spec.rb @@ -2,7 +2,7 @@ RSpec.describe Minipack::Helper do let(:helper){ ActionView::Base.new } - let(:manifest_path) { File.expand_path('../../support/files/manifest.json', __dir__) } + let(:manifest_path) { File.expand_path('../support/files/manifest.json', __dir__) } let(:configuration) do Minipack::Configuration.new.tap do |c| c.cache = false @@ -36,7 +36,7 @@ context 'with multiple manifests registration and with manifest: option' do subject { helper.asset_bundle_path('admin-application.css', manifest: :admin) } - let(:manifest_admin_path) { File.expand_path('../../support/files/manifest-admin.json', __dir__) } + let(:manifest_admin_path) { File.expand_path('../support/files/manifest-admin.json', __dir__) } let(:configuration) do Minipack::Configuration.new.tap do |c| c.cache = false @@ -89,7 +89,7 @@ context 'with multiple manifests registration and with manifest: option' do subject { helper.javascript_bundle_tag('admin-application', manifest: :admin) } - let(:manifest_admin_path) { File.expand_path('../../support/files/manifest-admin.json', __dir__) } + let(:manifest_admin_path) { File.expand_path('../support/files/manifest-admin.json', __dir__) } let(:configuration) do Minipack::Configuration.new.tap do |c| c.cache = false @@ -142,7 +142,7 @@ context 'with multiple manifests registration and with manifest: option' do subject { helper.javascript_bundles_with_chunks_tag('admin-application', manifest: :admin) } - let(:manifest_admin_path) { File.expand_path('../../support/files/manifest-admin.json', __dir__) } + let(:manifest_admin_path) { File.expand_path('../support/files/manifest-admin.json', __dir__) } let(:configuration) do Minipack::Configuration.new.tap do |c| c.cache = false @@ -190,7 +190,7 @@ context 'with multiple manifests registration and with manifest: option' do subject { helper.stylesheet_bundle_tag('admin-application', manifest: :admin) } - let(:manifest_admin_path) { File.expand_path('../../support/files/manifest-admin.json', __dir__) } + let(:manifest_admin_path) { File.expand_path('../support/files/manifest-admin.json', __dir__) } let(:configuration) do Minipack::Configuration.new.tap do |c| c.cache = false @@ -241,7 +241,7 @@ context 'with multiple manifests registration and with manifest: option' do subject { helper.stylesheet_bundles_with_chunks_tag('admin-hello_stimulus', manifest: :admin) } - let(:manifest_admin_path) { File.expand_path('../../support/files/manifest-admin.json', __dir__) } + let(:manifest_admin_path) { File.expand_path('../support/files/manifest-admin.json', __dir__) } let(:configuration) do Minipack::Configuration.new.tap do |c| c.cache = false @@ -281,7 +281,7 @@ context 'with multiple manifests registration and with manifest: option' do subject { helper.image_bundle_tag('admin-icon.png', manifest: :admin) } - let(:manifest_admin_path) { File.expand_path('../../support/files/manifest-admin.json', __dir__) } + let(:manifest_admin_path) { File.expand_path('../support/files/manifest-admin.json', __dir__) } let(:configuration) do Minipack::Configuration.new.tap do |c| c.cache = false diff --git a/spec/minipack/rails/manifest_repository_spec.rb b/spec/minipack/manifest_repository_spec.rb similarity index 100% rename from spec/minipack/rails/manifest_repository_spec.rb rename to spec/minipack/manifest_repository_spec.rb