[rspec-users] concept of given

David Chelimsky dchelimsky at gmail.com
Tue Dec 22 10:38:12 EST 2009


On Tue, Dec 22, 2009 at 9:35 AM, rogerdpack <rogerpack2005 at gmail.com> wrote:

> Forgive me if the question is a common one...
>
> does rspec have any concept like
>
> given "a certain set of paths" do
>
>  it "should be able to recreate them" do; end
>  it "..."; end
> end
>

Not built into rspec. There is a merb extension that does that, but there is
no "when" and "then" counterpart, so I didn't want to add it to rspec.

HTH,
David


> ?
> Thanks.
> -r
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091222/bb56f198/attachment.html>


More information about the rspec-users mailing list