String#to_a doesn't work under 1.9
This commit is contained in:
parent
aa73753614
commit
eea6dd57c9
|
@ -17,7 +17,7 @@ module RSpec::Puppet
|
|||
|
||||
def without(*args, &block)
|
||||
params = args.shift
|
||||
@expected_undef_params = (@expected_undef_params || []) | params.to_a
|
||||
@expected_undef_params = (@expected_undef_params || []) | Array(params)
|
||||
self
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue