On Monday 25 May 2009 09:26:04 Marius Mårnes Mathiesen wrote:
> This is, in fact, a little strange. I had a look at some of the test
> failures and simply don't understand how these tests fail in your
> environment. For instance, failure #10 in your log, tests that the
> user johan from the users.yml fixture should not be member of the
> group team_thunderbird in the groups.yml fixture. This group has a
> single member, mike, so johan should absolutely not be member of the
> group. The test failing in your environment just doesn't make sense.
> Did you try creating another test database, migrate this and change to
> that one in config/database.yml? Could it be the access settings for
> the database (I'm assuming Mysql?) are too strict for the test cases
> to be able to update existing data?

Hmm, in my db (mysql) dev_test.memberships shows that johan _and_ mike are 
members of team_thunderbird.

On further inspection it seems like my sql server doesn't perform rollbacks, 
seems like mysql only supports transactions when using the InnoDB backend.

After enabling InnoDB support I only get one error:

  1) Error:
test: listing commits #index should have a proper id in the atom feed. 
(CommitsControllerTest):
NoMethodError: undefined method `twice' for 
#<Mocha::Expectation:0x007f5e26aedfe0>
    /media/code/gitorious/test/functional/commits_controller_test.rb:257:in 
`block (3 levels) in <class:CommitsControllerTest>'
    /media/code/gitorious/vendor/plugins/shoulda/lib/shoulda/context.rb:253:in 
`call'
    /media/code/gitorious/vendor/plugins/shoulda/lib/shoulda/context.rb:253:in 
`block in create_test_from_should_hash'
    
/media/code/gitorious/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in
 
`run'

Thanks for the hint about the db.

/regards
naga

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" 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/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to