remove input field from admin/resource#index

This commit is contained in:
shlok007 2017-02-09 01:11:24 +05:30
parent 3065766da9
commit 6db2e8abe7
2 changed files with 5 additions and 21 deletions

View file

@ -43,19 +43,5 @@ feature Resource do
expect(flash).to eq('Resource successfully destroyed.')
end
context 'on admin/resources#index' do
scenario 'update an existing resource' do
visit admin_conference_resources_path(conference.short_title)
fill_in 'resource_used', with: 7
click_button 'Save'
resource.reload
expect(flash).to eq('Resource successfully updated.')
expect(resource.used).to eq(7)
end
end
end
end