Sha256: 034b20275be1488372c6f74f9711912b6e7883f1b3b7cb3a3cf24b40ced4d12b
Contents?: true
Size: 617 Bytes
Versions: 5
Compression:
Stored size: 617 Bytes
Contents
Then /^I should see the attribute "([^"]*)" with "([^"]*)"$/ do |title, value| Then "I should see \"#{title}\" within \".attributes_table th\"" And "I should see \"#{value}\" within \".attributes_table td\"" end Then /^I should see the attribute "([^"]*)" with a nicely formatted datetime$/ do |title| Then "I should see \"#{title}\" within \".attributes_table th\"" with_scope ".attributes_table td" do page.body.should =~ /\w+ \d{1,2}, \d{4} \d{2}:\d{2}/ end end Then /^I should not see the attribute "([^"]*)"$/ do |title| Then "I should not see \"#{title}\" within \".attributes_table th\"" end
Version data entries
5 entries across 5 versions & 2 rubygems