Skip to content

Commit

Permalink
Remove duplicate lines
Browse files Browse the repository at this point in the history
  • Loading branch information
cllns committed Dec 31, 2024
1 parent 25cda30 commit 7fe9acb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/integration/hanami/controller/flash_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ def app

if RUBY_VERSION < "3.4"
expect(last_response.body).to match(/{:hello=>"world"}/)
expect(last_response.body).to match(/flash_empty: false/)
else
expect(last_response.body).to match(/{hello: "world"}/)
expect(last_response.body).to match(/flash_empty: false/)
end

expect(last_response.body).to match(/flash_empty: false/)
end

it "allows to access kept data after redirect" do
Expand Down

0 comments on commit 7fe9acb

Please sign in to comment.