I'm running into an issue using ONLY rspec version 1.3.3 (no rails /
rspec-rails with this project) where i'm hitting the following error:

My code looks like this:

describe Win32Meterpreter

    before :all
        helper_method
    end

    def helper_method
                ## If a session came back, try to interact with it.
                if @session
                        @session.load_stdapi
                else
                        flunk "Couldn't get a session!"
                end
    end

end

And the error:

    undefined method `flunk' for
#<Spec::Example::ExampleGroup::Subclass_1:0x0000000516bd40>

I believe this method is contained within the rspec-rails classes and
i'm not using those in this case. Is there an alternative to using flunk
- Suggestions?


jcran

-- 
Jonathan Cran
jc...@0x0e.org
515.890.0070

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

Reply via email to