summaryrefslogtreecommitdiffstats
path: root/spec/features
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-30 14:22:26 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-10-30 14:22:26 +0100
commit90f4ed34c62f5d90b536cac97265d323d0c1c136 (patch)
treeb9c6f3c9494d21804b1cdab73daf5b57286a3ff7 /spec/features
parentf67121a270a345f718dd8e146b13a0fe84da1885 (diff)
downloadnorsk-urskog-registrations-90f4ed34c62f5d90b536cac97265d323d0c1c136.tar.gz
norsk-urskog-registrations-90f4ed34c62f5d90b536cac97265d323d0c1c136.tar.bz2
norsk-urskog-registrations-90f4ed34c62f5d90b536cac97265d323d0c1c136.zip
Simplify form: Just use a textarea for members.
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/register_band_spec.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/features/register_band_spec.rb b/spec/features/register_band_spec.rb
index 625cb20..249bf3f 100644
--- a/spec/features/register_band_spec.rb
+++ b/spec/features/register_band_spec.rb
@@ -38,6 +38,7 @@ feature "Submit registration form" do
expect(find_field('Webside:').value).to eql(@band_params['website'])
expect(find_field('Plateselskap:').value).to eql(@band_params['label'])
expect(find_field('Kort bio:').value).to eql(@band_params['shortbio'])
+ expect(find_field('Medlemmer:').value).to eql(@band_params['members'])
within ('#form-contact-info') do
expect(find_field('Navn:').value).to eql(@band_params['contact']['name'])
@@ -46,12 +47,6 @@ feature "Submit registration form" do
expect(find_field('E-post:').value).to eql(@band_params['contact']['email'])
end
- within '#form-members .member-info' do
- expect(find_field('Navn:').value).to eql(@band_params['members']['1']['name'])
- expect(find_field('Instrument:').value).to eql(@band_params['members']['1']['instrument'])
- expect(find_field('Alder:').value).to eql(@band_params['members']['1']['age'])
- end
-
within '#form-songs #song-1-info' do
expect(find_field('Tittel:').value).to eql(@band_params['songs']['1']['title'])
expect(find_field('Lengde:').value).to eql(@band_params['songs']['1']['time'])