Mongoid::Errors::DocumentNotFound:

Failures:

  1) Manage proofs user edits a proof
     Failure/Error: click_link 'Edit proof'
     Mongoid::Errors::DocumentNotFound:

       Problem:
         Document(s) not found for class Proof with id(s)
531d064b5cf4e8d51d000002.
       Summary:
         When calling Proof.find with an id or array of ids, each
parameter must match a document in the database or this error will be
raised. The search was for the id(s): 531d064b5cf4e8d51d000002 ... (1
total) and the following ids were not found: 531d064b5cf4e8d51d000002.
       Resolution:
         Search for an id that is in the database or set the
Mongoid.raise_not_found_error configuration option to false, which will
cause a nil to be returned instead of raising this error when searching
for a single id, or only the matched documents when searching for
multiples.
     # ./app/controllers/proofs_controller.rb:12:in `edit'
     # ./spec/features/manage_requirements_spec.rb:46:in `block (2
levels) in <top (required)>'

Finished in 0.25323 seconds
1 example, 1 failure