Permalink
Browse files

Uncomment and fix a submission spec

  • Loading branch information...
1 parent 4e26a61 commit 0bc3074c885ac519718de96198c2b42c739d4177 @Tarrasch Tarrasch committed Jun 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/models/submission_spec.rb
@@ -109,8 +109,8 @@
it "should change LabHasGroup state from 'rejected' to 'pending'" do
lhg = create(:lab_has_group, state: "rejected")
- #create(:submission)
- #lhg.should be_pending
+ create(:submission, lab_has_group: lhg)
+ lhg.should be_pending
end
it "should not be possible to create a submission when LabHasGroup is in state 'pending'" do

0 comments on commit 0bc3074

Please sign in to comment.