Browse files

refactor snack_spec

  • Loading branch information...
1 parent f5dc22c commit af62d57f56fd180e39bbec6a2cb3a704468b3747 @rweald committed Jan 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/models/snack_spec.rb
View
2 spec/models/snack_spec.rb
@@ -13,7 +13,7 @@
it { should validate_presence_of :quantity}
end
- describe "#update_vote_count" do
+ describe ".update_vote_count" do
context "valid id parameter" do
it "should return true" do
Snack.update_vote_count(:id => @my_snack.id).should be_true

0 comments on commit af62d57

Please sign in to comment.