File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11---
22language : ruby
33rvm :
4+ - 2.2
45 - 2.1
56 - 2.0.0
67 - 1.9.3
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ Gem::Specification.new do |s|
2020 s . add_development_dependency 'turbolinks' , '>= 2.0.0'
2121 s . add_development_dependency 'es5-shim-rails' , '>= 2.0.5'
2222 s . add_development_dependency 'poltergeist' , '>= 0.3.3'
23+ s . add_development_dependency 'test-unit' , '~> 2.5'
2324
2425 s . add_development_dependency 'jbuilder'
2526
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ def wait_to_ensure_asset_pipeline_detects_changes
1919
2020 begin
2121 get '/server/1'
22- refute_match ' Updated' , response . body
22+ refute_match / Updated/ , response . body
2323
2424 wait_to_ensure_asset_pipeline_detects_changes
2525 FileUtils . cp file_with_updates , app_file
2626 FileUtils . touch app_file
2727
2828 get '/server/1'
29- assert_match ' Updated' , response . body
29+ assert_match / Updated/ , response . body
3030 ensure
3131 # if we have a test failure, we want to make sure that we revert the dummy file
3232 wait_to_ensure_asset_pipeline_detects_changes
You can’t perform that action at this time.
0 commit comments