summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-30 14:44:46 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-10-30 14:44:46 +0100
commitaee781f31e34c71447e74e26375d2bc819aceb79 (patch)
tree720cd9750beddcf71de904e12c6c5a0eb1ed3dd4 /spec
parent0863fd869b6ef23501e5c67249f3be661af80e07 (diff)
downloadnorsk-urskog-registrations-aee781f31e34c71447e74e26375d2bc819aceb79.tar.gz
norsk-urskog-registrations-aee781f31e34c71447e74e26375d2bc819aceb79.tar.bz2
norsk-urskog-registrations-aee781f31e34c71447e74e26375d2bc819aceb79.zip
Make the form look a bit nicer again.
Made the song fields align under each other again.
Diffstat (limited to 'spec')
-rw-r--r--spec/features/register_band_spec.rb2
-rw-r--r--spec/support/submit_form_helper.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/register_band_spec.rb b/spec/features/register_band_spec.rb
index 249bf3f..a2bd454 100644
--- a/spec/features/register_band_spec.rb
+++ b/spec/features/register_band_spec.rb
@@ -48,7 +48,7 @@ feature "Submit registration form" do
end
within '#form-songs #song-1-info' do
- expect(find_field('Tittel:').value).to eql(@band_params['songs']['1']['title'])
+ expect(find_field('Låttittel:').value).to eql(@band_params['songs']['1']['title'])
expect(find_field('Lengde:').value).to eql(@band_params['songs']['1']['time'])
expect(find_field('ISRC-kode:').value).to eql(@band_params['songs']['1']['isrc'])
expect(find_field('Utøvere:').value).to eql(@band_params['songs']['1']['performers'])
diff --git a/spec/support/submit_form_helper.rb b/spec/support/submit_form_helper.rb
index 3d881cb..30816cf 100644
--- a/spec/support/submit_form_helper.rb
+++ b/spec/support/submit_form_helper.rb
@@ -16,7 +16,7 @@ module SubmitFormHelper
if params['songs']
within '#form-songs #song-1-info' do
- fill_in 'Tittel:', with: params['songs']['1']['title']
+ fill_in 'Låttittel:', with: params['songs']['1']['title']
fill_in 'Lengde:', with: params['songs']['1']['time']
fill_in 'ISRC-kode:', with: params['songs']['1']['isrc']
fill_in 'Utøvere:', with: params['songs']['1']['performers']