aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/widget_vote_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/widget_vote_spec.rb b/spec/models/widget_vote_spec.rb
index db5e4385d..b9f990eac 100644
--- a/spec/models/widget_vote_spec.rb
+++ b/spec/models/widget_vote_spec.rb
@@ -28,7 +28,7 @@ describe WidgetVote do
end
it 'is valid with a cookie and info request' do
- widget_vote = FactoryGirl.create(:info_request).widget_votes.build(:cookie => 'x' * 20)
+ widget_vote = FactoryGirl.create(:widget_vote)
widget_vote.should be_valid
end