spec/macros4cuke/templating/engine_spec.rb in macros4cuke-0.4.00 vs spec/macros4cuke/templating/engine_spec.rb in macros4cuke-0.4.01

- old
+ new

@@ -285,10 +285,10 @@ expect(rendered_text).to eq(expected) # Place actual value in context object Context = Struct.new(:userid, :password) context = Context.new('sherlock', 'holmes') - rendered_text = subject.render(context, { 'userid' => 'susan' }) + rendered_text = subject.render(context, 'userid' => 'susan') expected = <<-SNIPPET Given I landed in the homepage And I fill in "Username" with "susan" And I fill in "Password" with "holmes" And I click "Sign in"