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

Version Path
andrewroth_activeadmin-0.3.4 features/step_definitions/index_scope_steps.rb
activeadmin-0.3.4 features/step_definitions/index_scope_steps.rb
activeadmin-0.3.3 features/step_definitions/index_scope_steps.rb
activeadmin-0.3.2 features/step_definitions/index_scope_steps.rb
activeadmin-0.3.1 features/step_definitions/index_scope_steps.rb
activeadmin-0.3.0 features/step_definitions/index_scope_steps.rb
nsm-activeadmin-0.2.2 features/step_definitions/index_scope_steps.rb
saulolso-activeadmin-0.2.2.1 features/step_definitions/index_scope_steps.rb
saulolso-activeadmin-0.2.2 features/step_definitions/index_scope_steps.rb
activeadmin-0.2.2 features/step_definitions/index_scope_steps.rb
activeadmin-0.2.1 features/step_definitions/index_scope_steps.rb
activeadmin-0.2.0 features/step_definitions/index_scope_steps.rb