search for: register_for

Displaying 1 result from an estimated 1 matches for "register_for".

2007 Jan 01
3
Another "how do I spec this?"
I wanted to add a convenience method on my User class to see if he was already signed up for a tournament. Here''s my spec context "A User signed up for one tournament" do setup do @t1 = Tournament.new @t1.save false @t2 = Tournament.new @t2.save false @user = User.new @user.save false @user.registrations << Registration.new(:tournament =>