Skip to content

Commit

Permalink
Move specs under rails dir (#15)
Browse files Browse the repository at this point in the history
Just a follow-up fix of #14. The spec files under rails directory should have been moved to the parent.
  • Loading branch information
nikushi authored May 29, 2019
1 parent 0591122 commit 21808e6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
File renamed without changes.

0 comments on commit 21808e6

Please sign in to comment.