ruby on rails - ActiveRecord::Fixture::FormatError: a YAML error occurred parsing -
I'm trying to make my first application on Ruby ... this is my test file
is required File.dirname (__ file__) + '/../test_helper' class Supplier Teest & lt; ActiveSupport :: Test Season fixtures: suppliers DEF test_name supplier = supplier.Create (: name = & gt; 'JUAN', PROVISION = & gt; NIL) assert_equal 'juan', supplier.atenam and end and stability
Juan: ID: 1 name: Juan province: zero and the results
Psych :: Syntax Error: (& lt; Unknown & gt;): On Line 8 Column 1, ':' could not be expected while scanning a simple key < p> YAMAL requires a space between : and the value, so try updating your stability on: juan: id: 1 name: juan province: (written in zero province will be "zero" ). Leaving it blank will be a true zero value)
Comments
Post a Comment