Skip to content

Commit

Permalink
Fixed system test bug with session being nil
Browse files Browse the repository at this point in the history
  • Loading branch information
jclusso committed Feb 13, 2024
1 parent a0fbed3 commit d5e22ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/system/queries_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class QueriesTest < ApplicationSystemTestCase
test "should destroy Query" do
visit root_path
create_query
# need to call twice since the session doesn't get created until it's been
# set at least once in tests. we set it with the type after creating.
create_query
click_on "Remove", match: :first
accept_alert
assert_current_path root_path
Expand Down

0 comments on commit d5e22ce

Please sign in to comment.