Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/server_rendered_html_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ def wait_to_ensure_asset_pipeline_detects_changes

begin
get '/server/1'
refute_match /Updated/, response.body
refute_match(/Updated/, response.body)

wait_to_ensure_asset_pipeline_detects_changes
FileUtils.cp file_with_updates, app_file
FileUtils.touch app_file

get '/server/1'
assert_match /Updated/, response.body
assert_match(/Updated/, response.body)
ensure
# if we have a test failure, we want to make sure that we revert the dummy file
wait_to_ensure_asset_pipeline_detects_changes
Expand Down