Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Jun 6, 2018
1 parent 571dd45 commit 2b07cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/react_on_rails/utils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module ReactOnRails
allow(ReactOnRails::WebpackerUtils).to receive(:using_webpacker?).and_return(true)
end

it { expect(subject).to eq("public/webpack/development/webpack-bundle.js") }
it { expect(subject).to end_with("public/webpack/development/webpack-bundle.js") }
end

context "With Webpacker 3.0.2 enabled and server file not in manifest", :webpacker do
Expand All @@ -103,7 +103,7 @@ module ReactOnRails
allow(ReactOnRails::WebpackerUtils).to receive(:using_webpacker?).and_return(true)
end

it { expect(subject).to eq("public/webpack/development/webpack-bundle.js") }
it { expect(subject).to end_with("public/webpack/development/webpack-bundle.js") }
end
end

Expand Down

0 comments on commit 2b07cc1

Please sign in to comment.