Skip to content

Commit

Permalink
Fix some features, still a couple broken because of confirmation dial…
Browse files Browse the repository at this point in the history
…ogues etc.
  • Loading branch information
parndt committed Jul 27, 2010
1 parent a6bdbc0 commit 49e8b95
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
1 change: 0 additions & 1 deletion features/refinery/manage_files.feature
Expand Up @@ -33,7 +33,6 @@ Feature: Manage Files
And I follow "Download this file"
Then I should see "http://www.refineryhq.com/"


Scenario: Files Delete
Given I have no files
When I upload the file at "features/uploads/refinery_is_awesome.txt"
Expand Down
24 changes: 24 additions & 0 deletions features/refinery/manage_inquiries.feature
Expand Up @@ -12,6 +12,30 @@ Feature: Manage Inquiries
When I go to the list of inquiries
Then I should see "David Jones said Hello, I really like your website. Was it hard to build ..."
And I should have 1 inquiries
And I should not see "Create"

Scenario: Spam List
When I go to the list of inquiries
And I follow "Spam"
Then I should see "Hooray! You don't have any spam."

Scenario: Updating who gets notified
When I go to the list of inquiries
And I follow "Update who gets notified"
And I fill in "Send notifications to" with "phil@refinerycms.com"
And I press "Save"
Then show me the page
#Then I should see "'Notification Recipients' was successfully updated"
#And I should be on the list of inquiries

Scenario: Updating confirmation email copy
When I go to the list of inquiries
And I follow "Edit confirmation email"
Then show me the page
#And I fill in "Message" with "Thanks %name%! We'll never get back to you!"
#And I press "Save"
#Then I should see "'Confirmation Body' was successfully updated."
#And I should be on the list of inquiries

Scenario: Inquiries Show
When I go to the list of inquiries
Expand Down
3 changes: 3 additions & 0 deletions features/support/paths.rb
Expand Up @@ -31,6 +31,9 @@ def path_to(page_name)

when /the list of inquiries/
admin_inquiries_path

when /the (d|D)ashboard/
admin_dashboard_index_path

# Add more mappings here.
# Here is an example that pulls values out of the Regexp:
Expand Down

0 comments on commit 49e8b95

Please sign in to comment.