Re: [rspec-users] how to include module into shared example group in RSpec 2

2011-06-01 Thread Jarmo Pertman
Done https://github.com/rspec/rspec-core/issues/396 Jarmo On Jun 1, 6:05 pm, David Chelimsky wrote: > On Jun 1, 2011, at 10:05 AM, Jarmo Pertman wrote: > > > Thank you :) > > > Where can i see the differences between #it_should_behave_like, > > #include_context and #include_examples? > > http://

Re: [rspec-users] how to include module into shared example group in RSpec 2

2011-06-01 Thread David Chelimsky
On Jun 1, 2011, at 10:05 AM, Jarmo Pertman wrote: > Thank you :) > > Where can i see the differences between #it_should_behave_like, > #include_context and #include_examples? http://relishapp.com/rspec/rspec-core > > Jarmo > > On Jun 1, 5:42 pm, David Chelimsky wrote: >> On Jun 1, 2011, at

Re: [rspec-users] how to include module into shared example group in RSpec 2

2011-06-01 Thread Jarmo Pertman
Thank you :) Where can i see the differences between #it_should_behave_like, #include_context and #include_examples? Jarmo On Jun 1, 5:42 pm, David Chelimsky wrote: > On Jun 1, 2011, at 9:10 AM, Jarmo Pertman wrote: > > > > > > > > > > > Hi! > > > We tried to upgrade our RSpec from 1.3.1 to 2.6

Re: [rspec-users] how to include module into shared example group in RSpec 2

2011-06-01 Thread David Chelimsky
On Jun 1, 2011, at 9:10 AM, Jarmo Pertman wrote: > Hi! > > We tried to upgrade our RSpec from 1.3.1 to 2.6 and are having some > problems. It seems that shared example group includes modules > differently in RSpec 2. > > Consider the following code: > module MyModule > def testing > end > end

[rspec-users] how to include module into shared example group in RSpec 2

2011-06-01 Thread Jarmo Pertman
Hi! We tried to upgrade our RSpec from 1.3.1 to 2.6 and are having some problems. It seems that shared example group includes modules differently in RSpec 2. Consider the following code: module MyModule def testing end end shared_examples_for "shared" do include MyModule it "works" do te

[rspec-users] how to include module into shared example group in RSpec 2

2011-06-01 Thread Jarmo Pertman
Hi! We tried to upgrade our RSpec from 1.3.1 to 2.6 and are having some problems. It seems that shared example group includes modules differently in RSpec 2. Consider the following code: module MyModule def testing end end shared_examples_for "shared" do include MyModule it "works" do