Sha256: 25aa75ed2d51813b6eb2dde5bf0962a2d8a6dd0e082b4b3e13be1bed73d148d2
Contents?: true
Size: 342 Bytes
Versions: 4
Compression:
Stored size: 342 Bytes
Contents
# Don't like the when I follow, so map click # to the follow web step from capybara. When /^(?:|I )click "([^"]*)"$/ do |button| When %{follow "#{button}"} end Then /^I should (not|)\s?see a flash message$/ do |negative| if negative.present? page.should_not have_css "div.flash" else page.should have_css "div.flash" end end
Version data entries
4 entries across 4 versions & 1 rubygems