Displaying 1 result from an estimated 1 matches for "playerseasontest".
Did you mean:
player_season_test
2006 Jun 24
5
Rake vs Ruby for running tests (error discrepency)
I''m having (to me) a strange problem with errors when running my tests
with rake as opposed to using ruby. If I do rake test:units I get this
error for several tests, but not all:
13) Error:
test_player_has_game_statistics_for_season(PlayerSeasonTest):
ActiveRecord::StatementInvalid: Mysql::Error: Duplicate entry ''22'' for
key 1: INSERT INTO positions (`name`, `id`, `position`) VALUES
(''athlete'', ''22'', ''ATH'')
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/ac...