spec/macros4cuke/macro-step_spec.rb in macros4cuke-0.4.05 vs spec/macros4cuke/macro-step_spec.rb in macros4cuke-0.4.06
- old
+ new
@@ -127,10 +127,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 'someone'."
args = [ %w(userid someone), %w(password no-secret) ]
- expect { subject.expand(phrase, args) }.to raise_error(
+ expect { subject.expand(phrase, args) }.to raise_error(
AmbiguousArgumentValue, msg)
end
it 'should expand built-in variables' do