Skip to content

Commit

Permalink
Revert "try rails native time travel"
Browse files Browse the repository at this point in the history
This reverts commit fbe0a76.
  • Loading branch information
mlandauer committed Jan 24, 2024
1 parent fbe0a76 commit f455ee9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/features/comment_to_authority_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

describe "Give feedback" do
include Devise::Test::IntegrationHelpers
include ActiveSupport::Testing::TimeHelpers

# In order to affect the outcome of a development application
# As a citizen
Expand Down Expand Up @@ -61,7 +60,7 @@
it "renders a snapshot for a visual diff", js: true do
# Note that we're ensuring that the application has a static first_date_scraped and we freeze the current
# time so that the page should always have the same text on it
travel_to(Date.new(2023, 6, 1)) do
Timecop.freeze(Date.new(2023, 6, 1)) do
page.percy_snapshot("Application")
end
end
Expand Down

0 comments on commit f455ee9

Please sign in to comment.