Error message

When I run a test, I get the error message: “FormatError: Bad data for
Story fixture named two (nil)”. What should I do about it?

On 2 Nov 2008, at 18:53, Delirium tremens wrote:

When I run a test, I get the error message: “FormatError: Bad data for
Story fixture named two (nil)”. What should I do about it?

sounds like your stories.yml fixture file has something fishy in it.

Fred

My stories.yml file did not have identation. I added it, with 2
spaces, then it worked!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs