Fixes permitted_params_spec.

Removes obsolete association.
pull/1203/head
Martin Czuchra 11 years ago
parent fcd5ab1679
commit 66e54349f7
  1. 6
      spec/models/permitted_params_spec.rb

@ -53,12 +53,6 @@ describe PermittedParams do
PermittedParams.new(params, user).project_type.should == { "allows_association" => "1" }
end
it "should return planning_element_type_ids" do
params = ActionController::Parameters.new(:project_type => { "planning_element_type_ids" => ["1"] } )
PermittedParams.new(params, user).project_type.should == { "planning_element_type_ids" => ["1"] }
end
it "should return reported_project_status_ids" do
params = ActionController::Parameters.new(:project_type => { "reported_project_status_ids" => ["1"] } )

Loading…
Cancel
Save