On Wed, Aug 6, 2008 at 1:25 PM, Cohen, Joseph <[EMAIL PROTECTED]> wrote:
>
> Consider:
> should_have_the_same_members_as
Similarly, I have a have_same_elements_as(arr) matcher.
k
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.or
Lots of good, interesting suggestions.
If you don't mind its length, for the non-mathematically inclined
something like
has_same_members_as
may be easier to remember and corresponds to Ruby's member? predicate.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Beh
I'm trying to verify that data entered in a form has been saved in the
database.
Scenario: User enters a bookmark URL
Given a bookmark 'http://www.gotapi.com/rubyrails'
When the user adds the bookmark
Then should redirect to '/'
And the page should contain 'http://www.gotapi.com/
On Thu, Aug 7, 2008 at 2:44 PM, Christian Lescuyer <[EMAIL PROTECTED]> wrote:
> I'm trying to verify that data entered in a form has been saved in the
> database.
>
> Scenario: User enters a bookmark URL
>Given a bookmark 'http://www.gotapi.com/rubyrails'
>When the user adds the bookmark
>
Thanks! I will try this tomorrow.
Xtian
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users