Skip to content

Commit

Permalink
We can't reasonably expect to see this content on the page given that…
Browse files Browse the repository at this point in the history
… we create the pages with no content.
  • Loading branch information
parndt committed Aug 3, 2010
1 parent 3186e74 commit 3c58a6d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions features/refinery/create_inquiries.feature
Expand Up @@ -2,20 +2,20 @@
Feature: Create Inquiries
In order to contact the website owner
I want to create an inquiry

Background:
Given A Refinery user exists
And I have no inquiries
And I have a page titled "Contact Us" with a custom url "/contact"
And I have a page titled "Thank You" with a custom url "/contact/thank_you"

Scenario: Contact page
When I go to the contact page
Then I should see "Name *"
And I should see "Email *"
And I should see "Phone"
And I should see "Message *"
And I should see "Message *"

Scenario: Create a valid inquiry
When I go to the contact page
And I fill in "Name *" with "Philip"
Expand All @@ -24,10 +24,8 @@ Feature: Create Inquiries
And I press "Send"
Then I should be on the contact thank you page
And I should see "Thank You"
And I should see "received your inquiry"
And I should see "Return to the home page"
And I should have 1 inquiries

Scenario: Create an invalid inquiry
When I go to the contact page
And I press "Send"
Expand Down

0 comments on commit 3c58a6d

Please sign in to comment.