spec/macros4cuke/macro-step_spec.rb in macros4cuke-0.3.37 vs spec/macros4cuke/macro-step_spec.rb in macros4cuke-0.3.38
- old
+ new
@@ -118,10 +118,10 @@
it 'should complain when argument gets a value from phrase and table' do
# Error case: there is no macro argument called <unknown>
phrase = %Q|enter my credentials as "nobody"|
- msg = "The macro argument 'userid' has value 'nobody' and 'valueTable'."
+ msg = "The macro argument 'userid' has value 'nobody' and 'someone'."
args = [ %w(userid someone), %w(password no-secret) ]
expect { subject.expand(phrase, args) }.to raise_error(
AmbiguousArgumentValue, msg)
end
\ No newline at end of file