I've added the fixture as Leon made, but It didn't help me. However in the new versions of CE everything is working smoothly. Thanks a lot!
On Sep 2, 8:09 am, Leon <[EMAIL PROTECTED]> wrote: > I've add the fixture as below, but the error msg remains there, any > idea? > > class FriendshipTest < Test::Unit::TestCase > fixtures :friendships, :users, :roles, :friendship_statuses > > ... ... > end > > On Sep 2, 2:18 am, Oleg Ivanov <[EMAIL PROTECTED]> wrote: > > > Actually it seems to be a problem with a test for Frienship model, I was > > just hit by it when upgrading CE submodule in my project. A set of > > fixtures specified in test/unit/friendship_test.rb lacks > > friendship_statuses fixture, and it leads to RecordNotFound exceptions > > being raised. Adding it at the end of fixtures list in this test fixes > > the problem. > > > Carl Fyffe wrote: > > > My first suggestion would be to not use InstantRails. I don't know > > > what version they are on, but you are better off without it anyway. > > > Install Ruby, Rails and then follow the install instructions on the > > > site for the necessary gems: > > >http://sites.google.com/a/curbly.com/communityengine/installation > > > > Next, the issue seems to be withFriendshipStatus: > > > >FriendshipStatusidentifiedby (:accepted) (ActiveRecord::RecordNotFound) > > > from > > > [snip]/engine_plugins/enumerations_mixin/lib/active_record/acts/enumerated.rb:56:in > > > `send' > > > from > > > [snip]/engine_plugins/enumerations_mixin/lib/active_record/acts/enumerated.rb:56:in > > > `[]' > > > from [snip]/app/models/friendship.rb:18 > > > > [snip] = D:/Projects/Test/code/trunk/vendor/plugins/community_engine > > > > This leads me to believe that something has changed in the fixtures. > > > > Please install Ruby:http://rubyforge.org/frs/?group_id=167 > > > Then install Rails: gem install rails > > > Then re-install the gems for CE: > > >http://sites.google.com/a/curbly.com/communityengine/installation > > > > and let us know what happens when you run the tests. > > > > Carl > > > -- > > Oleg Ivanov > > ICQ: 69991809 > > Jabber: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
