Jonathan Cran
2011-Mar-09 01:08 UTC
[rspec-users] undefined method `flunk'' for #<Spec::Example::ExampleGroup::Subclass_1:0x0000000516bd40>
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
jcran at 0x0e.org
515.890.0070
Jonathan Cran
2011-Mar-09 01:10 UTC
[rspec-users] undefined method `flunk'' for #<Spec::Example::ExampleGroup::Subclass_1:0x0000000516bd40>
On 03/08/2011 07:08 PM, Jonathan Cran wrote:> 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 mistake, that''s rspec version 1.3.1. jcran -- Jonathan Cran jcran at 0x0e.org 515.890.0070
Possibly Parallel Threads
- Undefined methods: has_selector? and flunk
- [PATCH server] permit many-to-many vms / networks relationship
- ExampleGroup in Rspec 2
- undefined method `route_for' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:
- ExampleGroup and SharedExampleGroup relationship(?)