From 3c58a6da1033f81fab2f16490c2395af41261824 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Tue, 3 Aug 2010 15:50:11 +1200 Subject: [PATCH] We can't reasonably expect to see this content on the page given that we create the pages with no content. --- features/refinery/create_inquiries.feature | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/features/refinery/create_inquiries.feature b/features/refinery/create_inquiries.feature index 45360c3737..08aa8b3b6c 100644 --- a/features/refinery/create_inquiries.feature +++ b/features/refinery/create_inquiries.feature @@ -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" @@ -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"