fix sponsor test, fixes from rebase, remove admin area check from application controller, fix admin menu layout

This commit is contained in:
Stella Rouzi 2014-08-14 11:37:30 +03:00
parent 17ebad413e
commit ba6643a394
4 changed files with 17 additions and 26 deletions

View file

@ -62,7 +62,9 @@ feature Sponsor do
# Remove sponsor
click_link 'Remove sponsor'
expect(page.all('div.nested-fields').count == 0).to be true
click_button 'Update Conference'
find('button', text: 'Update Conference').trigger('click')
expect(flash).to eq('Sponsorships were successfully updated.')
expect(page.all('div.nested-fields').count == 0).to be true
end