Skip to content

Commit

Permalink
AO3-4921 review comment for gift exchange factory
Browse files Browse the repository at this point in the history
  • Loading branch information
cesy committed Apr 7, 2017
1 parent 1b9eaed commit 16e60ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/controllers/challenge_assignments_controller_spec.rb
Expand Up @@ -15,7 +15,8 @@
end

context "when logged in" do
let(:collection2) { create(:collection, challenge: GiftExchange.new) }
let(:gift_exchange) { create(:gift_exchange) }
let(:collection2) { create(:collection, challenge: gift_exchange, challenge_type: "GiftExchange") }
let(:offer) { create(:challenge_signup, collection: collection2, pseud: user2.default_pseud) }
let(:offer2) { create(:challenge_signup, collection: collection2, pseud: otheruser.default_pseud) }
let(:open_assignment) { create(:challenge_assignment, collection: collection2, offer_signup: offer2) }
Expand Down

0 comments on commit 16e60ef

Please sign in to comment.