Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Fixes broken spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mezis committed Jun 23, 2013
1 parent 5f496e6 commit 35af755
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/models/traits/idea/star_rating_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@
subject.impact_cache.should == 1333
end

it 'gets updated when a vote is cast' do
it 'gets updated when votes are cast' do
subject.update_attributes! design_size:1, development_size:2
subject.votes.create! user:subject.author
subject.votes.create! user:User.make!
subject.reload
result.should == 333
result.should == 666
end
end
end
Expand Down

0 comments on commit 35af755

Please sign in to comment.