Displaying 1 result from an estimated 1 matches for "load_stdapi".
2011 Mar 09
1
undefined method `flunk' for #<Spec::Example::ExampleGroup::Subclass_1:0x0000000516bd40>
...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 th...