summaryrefslogtreecommitdiffstats
path: root/spec/features/register_band_spec.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-15 08:48:09 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-10-15 09:53:04 +0200
commit3d2952ddd2718561d6f29a8bf2cc0109c913b9ae (patch)
treefb3b1dbd489ccfdeeacec620355b04ec1d231d71 /spec/features/register_band_spec.rb
parent46f10868aead01caaf2017c553053d0b1ed7ba48 (diff)
downloadnorsk-urskog-registrations-3d2952ddd2718561d6f29a8bf2cc0109c913b9ae.tar.gz
norsk-urskog-registrations-3d2952ddd2718561d6f29a8bf2cc0109c913b9ae.tar.bz2
norsk-urskog-registrations-3d2952ddd2718561d6f29a8bf2cc0109c913b9ae.zip
Check against right var in spec.
Diffstat (limited to 'spec/features/register_band_spec.rb')
-rw-r--r--spec/features/register_band_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/register_band_spec.rb b/spec/features/register_band_spec.rb
index 8970137..92bf9d3 100644
--- a/spec/features/register_band_spec.rb
+++ b/spec/features/register_band_spec.rb
@@ -47,7 +47,7 @@ feature "Submit registration form" do
end
within '#form-members .member-info' do
- expect(find_field('Navn:').value).to eql(params['members']['1']['name'])
+ expect(find_field('Navn:').value).to eql(@band_params['members']['1']['name'])
end
end
end