David Kahn wrote in post #968428:
> Curious if anyone has Shoulda working with test/unit in Rails 3. I tried
> it
> this morning and am getting:
>
> test/unit/practice_member_test.rb:4:in `<class:PracticeMemberTest>':
> undefined method `context' for PracticeMemberTest:Class (NoMethodError)
>
> Now, I have a Rails 3 project with Rspec including Shoulda also and it
> works
> fine. I tried placing  "require 'shoulda'" in test helper to no avail,
> but
> when I run the debugger and type Shoulda, the object is found.

What's the point of using RSpec and Shoulda together?  I thought all 
Shoulda did was give an RSpec-like syntax to Test::Unit.

Come to think of it, what's the point of using Shoulda (instead of 
RSpec) at all?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to