carbonfive/raygun — pull request #74 by christiannelson (2013-02-19 03:12:06+00:00)
Title: View show spec from rails g scaffold fails

I did a `rails g scaffold :` and ran `rake`. It produced the following failure:

/show renders attributes in

Failure/Error: rendered.should match(/MyText/)
NoMethodError:
undefined method `should' for #

Rspec is configured to use the expect syntax, so I updated

rendered.should match(/MyText/)

to

expect(rendered).to match(/MyText/)

Also, the description is wrong... scaffold generates a `

`, not a `

`.