Skip to content

Commit 1c7c6be

Browse files
committed
rubocop
1 parent e0f0f7f commit 1c7c6be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/acceptance/deferred_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ def read_win_file_if_exists(path)
5757
end
5858

5959
it '03a: stringifying a Deferred writes the function form (reproduces customer report)' do
60-
apply = apply_manifest(dsc_deferred_stringified)
61-
out = read_win_file_if_exists('C:/Temp/from_dsc_var_string.txt')
60+
apply_manifest(dsc_deferred_stringified)
61+
out = read_win_file_if_exists('C:/Temp/from_dsc_var_string.txt')
6262
expect(out[:exists]).to be(true)
6363
expect(out[:content]).to match(%r{Deferred\s*\(|Puppet::Pops::Types::Deferred}i)
6464
expect(out[:content]).not_to match(%r{\bhello-var\b})
6565
end
6666

6767
it '03b: unwrap on a non‑Sensitive is a no‑op; also writes the function form' do
68-
apply = apply_manifest(dsc_deferred_bad_unwrap)
68+
apply_manifest(dsc_deferred_bad_unwrap)
6969
out = read_win_file_if_exists('C:/Temp/from_dsc_var_bad_unwrap.txt')
7070
out = read_win_file_if_exists('C:/Temp/from_dsc_var.txt') unless out[:exists]
7171
expect(out[:exists]).to be(true)

0 commit comments

Comments
 (0)