forked from radiant/radiant
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests for defaulting, validation of config entries
- Loading branch information
Showing
8 changed files
with
66 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
= edit_setting(@setting) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
%p.inline | ||
= show_setting(@setting) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Feature: Rich configuration | ||
In order to control site delivery | ||
an administrator | ||
wants to change the configuration of the site | ||
|
||
Background: | ||
Given I am logged in as "admin" | ||
And I go to the "configuration" admin page | ||
|
||
Scenario: Reviewing configuration | ||
Then I should see a "Site configuration" heading | ||
And I should see "Site title" | ||
And I should see "Site domain" | ||
And I should see the site title | ||
And I should see the site domain | ||
|
||
Scenario: Editing configuration | ||
When I press "Edit settings" | ||
Then I should see a "Configuration" heading | ||
And I should see "Site title" | ||
And I should see "Timezone name" | ||
When I fill in "Site title" with "Something else" | ||
And I select "London" from "Timezone name" | ||
And I press "Save Changes" | ||
Then I should see "Site configuration" | ||
And I should see "Something Else" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters