spec/controllers/proposals_controller_spec.rb
# This should return the minimal set of attributes required to create a valid
# Proposal. As you add validations to Proposal, be sure to
# update the return value of this method accordingly.
This should return the minimal set of attributes required to create a valid
Proposal. As you add validations to Proposal, be sure to
update the return value of this method accordingly.
This should return the minimal set of attributes required to create a valid Proposal . As you add validations to Proposal be sure to update the return value of this method accordingly .
def valid_attributes
    {
        title: "My Title",
        committee_id: committee.id}
  end
def valid_attributes { title : "My Title" , committee_id : committee . id } end
This should return the minimal set of attributes required to create a valid
Proposal.
This should return the minimal set of attributes required to create a valid Proposal .