Sha256: 22c3ee18b6a56ae7d69817c5a7e9009664bba3a254cef5fd3c5f470c44a98113

Contents?: true

Size: 523 Bytes

Versions: 3

Compression:

Stored size: 523 Bytes

Contents

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

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
andrewroth_activeadmin-0.3.4.3 features/step_definitions/dashboard_steps.rb
andrewroth_activeadmin-0.3.4.2 features/step_definitions/dashboard_steps.rb
andrewroth_activeadmin-0.3.4.1 features/step_definitions/dashboard_steps.rb