Skip to content

Commit 0e42d3f

Browse files
committed
rubocop
1 parent e273d77 commit 0e42d3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/bashly/commands/completions_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
context 'with --install' do
2222
it 'installs the completions script to the completions directory' do
2323
allow(subject).to receive(:compdir_candidates).and_return ['/tmp']
24-
expect(subject).to receive(:system).with(%Q[sudo cp "#{completions_path}" "/tmp/bashly"])
24+
expect(subject).to receive(:system).with(%[sudo cp "#{completions_path}" "/tmp/bashly"])
2525
expect { subject.execute %w[completions --install] }.to output_approval('cli/completions/install')
2626
end
2727

@@ -36,7 +36,7 @@
3636
it 'installs the completions script to the completions directory without sudo' do
3737
allow(subject).to receive(:compdir_candidates).and_return ['/tmp']
3838
allow(subject).to receive(:root_user?).and_return true
39-
expect(subject).to receive(:system).with(%Q[cp "#{completions_path}" "/tmp/bashly"])
39+
expect(subject).to receive(:system).with(%[cp "#{completions_path}" "/tmp/bashly"])
4040
expect { subject.execute %w[completions --install] }.to output_approval('cli/completions/install-root')
4141
end
4242
end

0 commit comments

Comments
 (0)