spec/controllers/revisions_controller_spec.rb
# This should return the minimal set of attributes required to create a valid
# Revision. As you add validations to Revision, be sure to
# update the return value of this method accordingly.
This should return the minimal set of attributes required to create a valid
Revision. As you add validations to Revision, be sure to
update the return value of this method accordingly.
This should return the minimal set of attributes required to create a valid Revision . As you add validations to Revision be sure to update the return value of this method accordingly .
def valid_attributes
    { body: "blah",
      rule_text: 'Something',
      change_description: "blaa"}
  end
def valid_attributes { body : "blah" , rule_text : 'Something' , change_description : "blaa" } end
This should return the minimal set of attributes required to create a valid
Revision.
This should return the minimal set of attributes required to create a valid Revision .