Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
activeadmin / features / step_definitions / action_link_steps.rb
Size: Mime:
Then /^I should see a member link to "([^"]*)"$/ do |name|
  expect(page).to have_css('a.member_link', text: name)
end

Then /^I should not see a member link to "([^"]*)"$/ do |name|
  %{Then I should not see "#{name}" within "a.member_link"}
end

Then /^I should see the actions column with the class "([^"]*)" and the title "([^"]*)"$/ do |klass, title|
  expect(page).to have_css "th#{'.'+klass}", text: title
end

Then /^I should see a dropdown menu item to "([^"]*)"$/ do |name|
  expect(page).to have_css('ul.dropdown_menu_list li a', text: name)
end

Then /^I should not see a dropdown menu item to "([^"]*)"$/ do |name|
  %{Then I should not see "#{name}" within "ul.dropdown_menu_list li a"}
end