favorite 
<http://stackoverflow.com/questions/28471455/shared-context-in-rails-2-not-working#>

I am using rspec-rails (2.13.0) rspec-core (~> 2.13.0) This shared_context 
is not working
http://www.relishapp.com/rspec/rspec-core/v/2-11/docs/example-groups/shared-context

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")
  endend


 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 [email protected].
To post to this group, send email to [email protected].
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.

Reply via email to