Sha256: 95bb55fd7e27da8ff85676d020c574cf08d42772ffb56faa05a022991c032b53

Contents?: true

Size: 515 Bytes

Versions: 5

Compression:

Stored size: 515 Bytes

Contents

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|
  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

5 entries across 5 versions & 2 rubygems

Version Path
active_administration-0.0.3 features/step_definitions/dashboard_steps.rb
activeadministration-0.0.2 features/step_definitions/dashboard_steps.rb
active_administration-0.0.2 features/step_definitions/dashboard_steps.rb
activeadministration-0.0.1 features/step_definitions/dashboard_steps.rb
active_administration-0.0.1 features/step_definitions/dashboard_steps.rb