diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-11-01 15:55:50 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-11-01 15:55:50 +0100 |
commit | 57a52a31486ec9af415d6d5b86a20a4a62abf488 (patch) | |
tree | 2140f42c77202e72b38506bb27c956e5053bb15e /spec | |
parent | f8474216b3c4aa9aad4db2b275fe7d26bd42d074 (diff) | |
download | norsk-urskog-registrations-57a52a31486ec9af415d6d5b86a20a4a62abf488.tar.gz norsk-urskog-registrations-57a52a31486ec9af415d6d5b86a20a4a62abf488.tar.bz2 norsk-urskog-registrations-57a52a31486ec9af415d6d5b86a20a4a62abf488.zip |
Fix numbering of song forms.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/registration_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/registration_spec.rb b/spec/registration_spec.rb index 3111ebc..522b155 100644 --- a/spec/registration_spec.rb +++ b/spec/registration_spec.rb @@ -20,6 +20,12 @@ describe RegistrationApp do it 'displays the registration form' do expect(last_response.body).to match(/form id="registration-form"/) end + + it 'allows three songs' do + expect(last_response.body).to match(/Låt nr. 1/) + expect(last_response.body).to match(/Låt nr. 2/) + expect(last_response.body).to match(/Låt nr. 3/) + end end describe 'POST submit' do |