This commit is contained in:
parent
98a6740a7d
commit
fa42eb4f74
10
features/admin/installation.feature
Normal file
10
features/admin/installation.feature
Normal file
@ -0,0 +1,10 @@
|
||||
Feature: Installation
|
||||
As A User
|
||||
In order to get setup with locomotive quickly
|
||||
I want to be able to create an admin account and my first site
|
||||
|
||||
|
||||
Scenario: Viewing the installation deatils after creating a site (Bug)
|
||||
Given I have a site set up
|
||||
When I am on the installation page
|
||||
Then I should not be able to see any admin user details
|
3
features/step_definitions/installation_steps.rb
Normal file
3
features/step_definitions/installation_steps.rb
Normal file
@ -0,0 +1,3 @@
|
||||
Then /^I should not be able to see any admin user details$/ do
|
||||
page.should_not have_content @admin.email
|
||||
end
|
@ -40,6 +40,8 @@ module NavigationHelpers
|
||||
when /the "(.*)" model edition page/
|
||||
content_type = Site.first.content_types.where(:name => $1).first
|
||||
edit_admin_content_type_path(content_type)
|
||||
when /the installation page/
|
||||
admin_installation_path
|
||||
|
||||
# Add more mappings here.
|
||||
# Here is an example that pulls values out of the Regexp:
|
||||
|
Loading…
Reference in New Issue
Block a user