summaryrefslogtreecommitdiffstats
path: root/spec/features/register_band_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/register_band_spec.rb')
-rw-r--r--spec/features/register_band_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/register_band_spec.rb b/spec/features/register_band_spec.rb
index f75315d..5d812bc 100644
--- a/spec/features/register_band_spec.rb
+++ b/spec/features/register_band_spec.rb
@@ -47,7 +47,9 @@ feature "Submit registration form" do
within ('#form-contact-info') do
expect(find_field('Navn:').value).to eql(@band_params['contact']['name'])
- expect(find_field('Postadresse:').value.gsub("\r\n", "\n")).to eql(@band_params['contact']['addr'])
+ expect(find_field('Adresse:').value).to eql(@band_params['contact']['street'])
+ expect(find_field('Postnr:').value).to eql(@band_params['contact']['postcode'])
+ expect(find_field('Sted:').value).to eql(@band_params['contact']['city'])
expect(find_field('Tlf:').value).to eql(@band_params['contact']['phone'])
expect(find_field('E-post:').value).to eql(@band_params['contact']['email'])
end