diff options
author | Richard Schneeman <richard.schneeman@gmail.com> | 2016-06-19 16:21:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-19 16:21:49 -0500 |
commit | 166e7f07c9888b1ea60a532d38704115cdde56e3 (patch) | |
tree | deb80c44cc10dd9a7ed9746a613a14de218d1d05 | |
parent | 94ef224aa61ace3fa643eab161ff9056b7d90a62 (diff) | |
parent | acad62bce549cffaefe865a3f3c21aca79d8b76a (diff) | |
download | rails-166e7f07c9888b1ea60a532d38704115cdde56e3.tar.gz rails-166e7f07c9888b1ea60a532d38704115cdde56e3.tar.bz2 rails-166e7f07c9888b1ea60a532d38704115cdde56e3.zip |
Merge pull request #25436 from prathamesh-sonpatki/fix-tests
Fix failing railties tests
-rw-r--r-- | Gemfile.lock | 2 | ||||
-rw-r--r-- | railties/test/railties/engine_test.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 8b31934301..71f4302a5b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -300,7 +300,7 @@ GEM serverengine (~> 1.5.11) thor thread (~> 0.1.7) - sprockets (3.6.0) + sprockets (3.6.1) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-export (0.9.1) diff --git a/railties/test/railties/engine_test.rb b/railties/test/railties/engine_test.rb index b6fdd33898..fb8a7656d0 100644 --- a/railties/test/railties/engine_test.rb +++ b/railties/test/railties/engine_test.rb @@ -1155,10 +1155,10 @@ YAML assert_equal "App's bar partial", last_response.body.strip get("/assets/foo.js") - assert_equal "// Bukkit's foo js", last_response.body.strip + assert_match "// Bukkit's foo js", last_response.body.strip get("/assets/bar.js") - assert_equal "// App's bar js", last_response.body.strip + assert_match "// App's bar js", last_response.body.strip # ensure that railties are not added twice railties = Rails.application.send(:ordered_railties).map(&:class) |