Displaying 1 result from an estimated 1 matches for "status_spec".
Did you mean:
status_set
2012 Nov 12
1
Factory girl associations and rspec
...d}/statuses/#{status.id}")
ActiveRecord::RecordNotFound:
Couldn''t find Status with id=2 [WHERE `statuses`.`user_id` = 1]
when I run the request spec for statuses. What should I change to get
this test to pass.
Shaban
Attachments:
http://www.ruby-forum.com/attachment/7873/status_spec.rb
http://www.ruby-forum.com/attachment/7874/factories.rb
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/...