Sha256: fea56eb714713abe5b1e11eab51cd9a94cedb94954d2e86d3839f416da93c927

Contents?: true

Size: 373 Bytes

Versions: 13

Compression:

Stored size: 373 Bytes

Contents

Then /^I should see a menu item for "([^"]*)"$/ do |name|
  page.should have_css('#tabs li a', :text => name)
end

Then /^I should not see a menu item for "([^"]*)"$/ do |name|
  page.should_not have_css('#tabs li a', :text => name)
end

Then /^I should see a nested menu item for "([^"]*)"$/ do |name|
  page.should have_css('#tabs > li > ul > li > a', :text => name)
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
activeadmin-0.6.6 features/step_definitions/menu_steps.rb
activeadmin-0.6.5 features/step_definitions/menu_steps.rb
activeadmin-0.6.4 features/step_definitions/menu_steps.rb
yousty-activeadmin-1.0.4.pre features/step_definitions/menu_steps.rb
yousty-activeadmin-1.0.3.pre features/step_definitions/menu_steps.rb
yousty-activeadmin-1.0.2.pre features/step_definitions/menu_steps.rb
activeadmin-0.6.3 features/step_definitions/menu_steps.rb
yousty-activeadmin-1.0.1.pre features/step_definitions/menu_steps.rb
yousty-activeadmin-1.0.0.pre features/step_definitions/menu_steps.rb
activeadmin-0.6.2 features/step_definitions/menu_steps.rb
activeadmin-0.6.1 features/step_definitions/menu_steps.rb
aa-rails4-0.6.0 features/step_definitions/menu_steps.rb
activeadmin-0.6.0 features/step_definitions/menu_steps.rb