[rspec-users] Learning Cucumber
James B. Byrne
byrnejb at harte-lyne.ca
Thu Nov 13 12:04:07 EST 2008
On Thu, November 13, 2008 11:51, James B. Byrne wrote:
> So, evidently I need some other specification to check the validity of the
> action with respect to the web page displayed. Can some one give me a
> hint as to what "I should see "X" should actually say? Should this be a
> regex? In other worlds should the outcome be specified as:
>
> Then I should see "*Entity was successfully created*"
>
>
Actually, I have discovered that what I need to do is to create some steps
to move the data passed by the When clauses into the form variables and
thus get the expected result instead of an error.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the rspec-users
mailing list