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 / dashboard_steps.rb
Size: Mime:
Then /^I should see the default welcome message$/ do
  step %{I should see "Welcome to Active Admin" within "#dashboard_default_message"}
end

Then /^I should not see the default welcome message$/ do
  step %{I should not see "Welcome to Active Admin"}
end

Then /^I should see a dashboard widget "([^"]*)"$/ do |name|
  expect(page).to have_css '.dashboard .panel h3', text: name
end

Then /^I should not see a dashboard widget "([^"]*)"$/ do |name|
  expect(page).to_not have_css '.dashboard .panel h3', text: name
end