Sha256: 035ebb7515838b3c7bdfd85de7c0adbb85748930e321bc7c34d90f2ea245065a

Contents?: true

Size: 300 Bytes

Versions: 12

Compression:

Stored size: 300 Bytes

Contents

Then /^I should see a sidebar titled "([^"]*)"$/ do |title|
  page.should have_css(".sidebar_section h3", :text => title)
end

Then /^I should not see a sidebar titled "([^"]*)"$/ do |title|
  title = title.gsub(' ', '').underscore
  page.all(:css, "##{title}_sidebar_section").count.should == 0
end

Version data entries

12 entries across 12 versions & 3 rubygems

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