Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (22 sloc) 0.65 kb
Feature: Dashboard
Background:
Given I am logged in
Scenario: With no configuration
Given a configuration of:
"""
"""
When I go to the dashboard
Then I should see the default welcome message
Scenario: Displaying a dashboard widget
Given a configuration of:
"""
ActiveAdmin::Dashboards.build do
section 'Hello World' do
para "Hello world from the content"
end
end
"""
When I go to the dashboard
Then I should not see the default welcome message
And I should see a dashboard widget "Hello World"
And I should see "Hello world from the content"
Jump to Line
Something went wrong with that request. Please try again.