features/step_definitions/tab_steps.rb in yousty-activeadmin-1.0.4.pre vs features/step_definitions/tab_steps.rb in yousty-activeadmin-1.0.5.pre

- old
+ new

@@ -1,3 +1,8 @@ Then /^the "([^"]*)" tab should be selected$/ do |name| step %{I should see "#{name}" within "ul#tabs li.current"} end + +Then(/^I should see two tabs "(.*?)" and "(.*?)"$/) do |tab_1, tab_2| + expect(page).to have_link(tab_1) + expect(page).to have_link(tab_2) +end