Adapt the spec

This commit is contained in:
Henne Vogelsang 2016-04-27 17:34:17 +02:00
parent 86896cc46b
commit 8fc57e34c9
7 changed files with 16 additions and 12 deletions

View file

@ -16,7 +16,7 @@ feature Lodging do
fill_in 'lodging_name', with: 'New lodging'
fill_in 'lodging_website_link', with: 'http:\\www.google.com'
attach_file 'Photo', path
attach_file 'Picture', path
click_button 'Create Lodging'
@ -42,7 +42,7 @@ feature Lodging do
fill_in 'lodging_name', with: 'New lodging'
fill_in 'lodging_website_link', with: 'http:\\www.google.com'
attach_file 'Photo', path
attach_file 'Picture', path
click_button 'Update Lodging'

View file

@ -19,7 +19,7 @@ feature Sponsor do
fill_in 'sponsor_name', with: 'SUSE'
fill_in 'sponsor_description', with: 'The original provider of the enterprise Linux distribution'
attach_file 'Logo', path
attach_file 'Picture', path
fill_in 'sponsor_website_url', with: 'http://www.suse.com'
select('Platin', from: 'sponsor_sponsorship_level_id')