spec/controllers/committees_controller_spec.rb
def valid_attributes
    { name: "MyName",
      preliminary: false
    }
  end
# This should return the minimal set of attributes required to create a valid
# Event. As you add validations to Event, be sure to
# update the return value of this method accordingly.
This should return the minimal set of attributes required to create a valid
Event. As you add validations to Event, be sure to
update the return value of this method accordingly.
This should return the minimal set of attributes required to create a valid Event . As you add validations to Event be sure to update the return value of this method accordingly .
def valid_attributes
    { name: "MyName",
      preliminary: false
    }
  end
def valid_attributes { name : "MyName" , preliminary : false } end
This should return the minimal set of attributes required to create a valid
Event.
This should return the minimal set of attributes required to create a valid Event .