On Fri, Jan 2, 2009 at 1:20 PM, Emmanuel Pinault <seatm...@gmail.com> wrote:

> So I have a file with my steps  written like this
>
> require 'steputils'
>
> Given "some step description 1 " do
>        SomeClass.post(args)
> end
>
> Given "some step description 2 that is slighty different for better
> readability "  do
>        SomeClass.post(args)
> end
>
>
> and in steputils I have
>
> class Steputils
>
>        def self.post(args)
>                args.should_not be_empty
>        end
> end

Is that code right?  It looks to me like Steputils.post is never
getting called.  You're calling SomeClass.post instead.

Peter
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to