[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
|
||||
end
|
||||
|
||||
def update
|
||||
update_subject @product_build_list
|
||||
end
|
||||
|
||||
def show
|
||||
end
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ describe ProductBuildList do
|
|||
it {should_not allow_value(555).for(:status)}
|
||||
|
||||
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(:base_url) }
|
||||
|
|
Loading…
Reference in New Issue