Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
refactor snack_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
rweald committed Jan 12, 2011
1 parent f5dc22c commit af62d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/snack_spec.rb
Expand Up @@ -13,7 +13,7 @@
it { should validate_presence_of :quantity} it { should validate_presence_of :quantity}
end end


describe "#update_vote_count" do describe ".update_vote_count" do
context "valid id parameter" do context "valid id parameter" do
it "should return true" do it "should return true" do
Snack.update_vote_count(:id => @my_snack.id).should be_true Snack.update_vote_count(:id => @my_snack.id).should be_true
Expand Down

0 comments on commit af62d57

Please sign in to comment.