use strings instead of symbols

This commit is contained in:
Victoria Jeffrey 2016-05-03 15:39:34 -04:00
parent 80d27cfa46
commit 33e35a1e94

View file

@ -63,7 +63,7 @@ module Inspec
vars = variables.map(&:to_ruby).join("\n")
vars += "\n" unless vars.empty?
res, xtra = describe_chain
itsy = xtra.nil? ? 'it' : 'its(' + xtra.to_sym.inspect + ')'
itsy = xtra.nil? ? 'it' : 'its(' + xtra.to_s.inspect + ')'
naughty = @negated ? '_not' : ''
xpect = defined?(@expectation) ? expectation.inspect : ''
format("%sdescribe %s do\n %s { should%s %s %s }\nend",