[refs #861] remove update code

This commit is contained in:
Alexander Machehin 2013-02-08 01:27:38 +06:00
parent 1c641bff05
commit bb99c60689
2 changed files with 1 additions and 5 deletions

View File

@ -24,10 +24,6 @@ class Api::V1::ProductBuildListsController < Api::V1::BaseController
create_subject @product_build_list create_subject @product_build_list
end end
def update
update_subject @product_build_list
end
def show def show
end end

View File

@ -18,7 +18,7 @@ describe ProductBuildList do
it {should_not allow_value(555).for(:status)} it {should_not allow_value(555).for(:status)}
it { should have_readonly_attribute(:product_id) } it { should have_readonly_attribute(:product_id) }
it { should_not allow_mass_assignment_of(:product_id) } #it { should_not allow_mass_assignment_of(:product_id) }
it { should allow_mass_assignment_of(:status) } it { should allow_mass_assignment_of(:status) }
it { should allow_mass_assignment_of(:base_url) } it { should allow_mass_assignment_of(:base_url) }