I am using |
describe "group that includes a shared context using 'include_context'" do
include_context "shared stuff"
it "has access to methods defined in shared context" do
shared_method.should eq("it works")
end
end
Failure/Error: include_context "it works"
NoMethodError:
undefined method `include_context' for #<RSpec::Core::ExampleGroup::Nested_1:0x0000000aa4b668>
--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+un...@googlegroups.com.
To post to this group, send email to rs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/9f0316b0-ad4a-4eea-a0d0-d9fdb8d97be4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.