Skip to content

Commit

Permalink
comments shouldn't lie
Browse files Browse the repository at this point in the history
  • Loading branch information
pboling committed Apr 18, 2013
1 parent ace0fc7 commit 5be5afb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_helper.rb
Expand Up @@ -128,23 +128,23 @@ class Vote < ActiveRecord::Base
end

class Item < ActiveRecord::Base
# This is default, however because of random test run ordering we need to be explicit
# This is default, however because the setting is app-wide, and changed elsewhere, we need to be explicit
ThumbsUp.configuration.voteable_relationship_name = :votes
ThumbsUp.configuration.voter_relationship_name = :votes
acts_as_voteable
belongs_to :user
end

class OtherItem < ActiveRecord::Base
# This is default, however because of random test run ordering we need to be explicit
# This is default, however because the setting is app-wide, and changed elsewhere, we need to be explicit
ThumbsUp.configuration.voteable_relationship_name = :votes
ThumbsUp.configuration.voter_relationship_name = :votes
acts_as_voteable
belongs_to :user
end

class User < ActiveRecord::Base
# This is default, however because of random test run ordering we need to be explicit
# This is default, however because the setting is app-wide, and changed elsewhere, we need to be explicit
ThumbsUp.configuration.voteable_relationship_name = :votes
ThumbsUp.configuration.voter_relationship_name = :votes
acts_as_voter
Expand Down

0 comments on commit 5be5afb

Please sign in to comment.