Skip to content

Commit

Permalink
Update specs
Browse files Browse the repository at this point in the history
We now have a dependency on this spec, added in a previous PR[1].

This is due the spec indirectly creating a Comment object[1] that requires the spending proposal to have an administrator.

We could separate the rake task to deal with the initial PR requirements and this PR's requirements. But we should put it all in a single rake task when everything is ready. So just fixing the spec for now.

[1] #1853
  • Loading branch information
voodoorai2000 committed Mar 5, 2019
1 parent d379c73 commit 5cc5fd9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

spending_proposal.feasible = false
spending_proposal.valuation_finished = true
spending_proposal.update(administrator: create(:administrator))

spending_proposal.save(validate: false)

Expand Down

0 comments on commit 5cc5fd9

Please sign in to comment.