[refs #861] remove update code
This commit is contained in:
parent
1c641bff05
commit
bb99c60689
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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) }
|
||||||
|
|
Loading…
Reference in New Issue