From 3d2952ddd2718561d6f29a8bf2cc0109c913b9ae Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 15 Oct 2015 08:48:09 +0200 Subject: Check against right var in spec. --- spec/features/register_band_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/features') 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 -- cgit v1.2.3