Solution Timeline

All versions (edits) of solutions to trying to construct rspec test and get it to pass appear below in the order they were created. Comments that appear under revisions were those created when that particular revision was current.

To see the revision history of a single solution (with diffs), click on the solution number (ie. "#1") in the upper right corner of a solution revision below.

← Bounty Expand all edits

You need to do FactoryGirl.build(:proof) instead of just proof.

Winning solution

That line:
create(:standard, name: "1.1.1", proof: proof)
expects proof to be a local variable or method - either set the variable, or change it to:
create(:standard, name: "1.1.1", proof: 'some text of proof')

That line:
create(:standard, name: "1.1.1", proof: proof)
expects proof to be a local variable or method - either set the variable, or change it to:
create(:standard, name: "1.1.1", proof: 'some text of proof')

(That plus the solution above for the factory line should fix it)

That line:
create(:standard, name: "1.1.1", proof: proof)
expects proof to be a local variable or method - either set the variable, or change it to:
create(:standard, name: "1.1.1", proof: 'some text of proof')

(the soln from the first person is a better fit)