Merge 4c60baf7c1 into 33aee342b4
This commit is contained in:
commit
0ef6aa0644
8 changed files with 74 additions and 12 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue