Skip to content

Commit

Permalink
Removed assert_select
Browse files Browse the repository at this point in the history
  • Loading branch information
Swapnil Gupta committed Dec 28, 2016
1 parent 5d3b82f commit 961812c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/functional/wiki_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ def teardown
id: 'organizers'
end
assert_equal flash[:warning] , "This page is <a href='/wiki/power-tags#Locking'>locked</a>, and only <a href='/wiki/moderators'>moderators</a> can edit it."
assert_select ".alert", "This page is <a href='/wiki/power-tags#Locking'>locked</a>, and only <a href='/wiki/moderators'>moderators</a> can edit it."
assert_redirected_to node.path
end

Expand Down

0 comments on commit 961812c

Please sign in to comment.