Sha256: eb49c673c564efdeb826b82879d674fa186d74f270291d5147352042c2e16116
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
Then(/^the "([^"]*)" tab should be selected$/) do |name| step %{I should see "#{name}" within "ul#tabs li.current"} end Then("I should see tabs:") do |table| table.rows.each do |title, _| step %{I should see "#{title}" within "#main_content .tabs .nav"} end end Then("I should see tab content {string}") do |string| step %{I should see "#{string}" within "#main_content .tabs .tab-content"} end Then("I should not see tab content {string}") do |string| step %{I should not see "#{string}" within "#main_content .tabs .tab-content"} end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-rails-1.7.1 | features/step_definitions/tab_steps.rb |
activeadmin-rails-1.7.0 | features/step_definitions/tab_steps.rb |