Sha256: 44b7289a6e07d8e090fdb4daa2a838aa278d464bfe12ee375bf4c5b478119bda
Contents?: true
Size: 742 Bytes
Versions: 12
Compression:
Stored size: 742 Bytes
Contents
Then /^I should see the scope "([^"]*)"$/ do |name| Then %{I should see "#{name}" within ".scopes"} end Then /^I should see the scope "([^"]*)" selected$/ do |name| Then %{I should see "#{name}" within ".scopes span.selected"} end Then /^I should see the scope "([^"]*)" not selected$/ do |name| Then %{I should see the scope "#{name}"} page.should_not have_css('.scopes span.selected', :text => name) end Then /^I should see the scope "([^"]*)" with the count (\d+)$/ do |name, count| Then %{I should see "#{count}" within ".scopes .#{name.downcase} .count"} end Then /^I should see (\d+) ([\w]*) in the table$/ do |count, resource_type| page.should have_css("table##{resource_type} tr > td:first", :count => count.to_i) end
Version data entries
12 entries across 12 versions & 4 rubygems