Skip to content

Commit

Permalink
Merge pull request #261 from schneems/schneems/test-rails6
Browse files Browse the repository at this point in the history
If error raised then no need to refute contents
  • Loading branch information
schneems committed Nov 5, 2019
2 parents aa47805 + 6977620 commit 679572c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/integration/security_test.rb
Expand Up @@ -7,7 +7,6 @@ class SecurityTest < ActiveSupport::IntegrationCase
assert_raise(Wicked::Wizard::InvalidStepError) do
visit(bar_path(step))
end
refute has_content?('sqlite3')
end

# only works on *nix systems
Expand All @@ -18,6 +17,5 @@ class SecurityTest < ActiveSupport::IntegrationCase
assert_raise(Wicked::Wizard::InvalidStepError) do
visit(bar_path(step))
end
refute has_content?('aardvark')
end
end

0 comments on commit 679572c

Please sign in to comment.