Add increment and decrement functionality to left resource

This commit is contained in:
Chaitanya 2017-04-05 01:36:22 +05:30
parent 033dbe4c40
commit 4c60baf7c1
8 changed files with 74 additions and 12 deletions

View file

@ -33,7 +33,7 @@ feature Resource do
click_button 'Update Resource'
resource.reload
expect(flash).to eq('Resource successfully updated.')
expect(page).to have_css('#messages'), text('Resource successfully updated.')
expect(resource.name).to eq('changed_name')
end