mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
use strings instead of symbols
This commit is contained in:
parent
80d27cfa46
commit
33e35a1e94
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue