Skip to content

Commit 7d8bf31

Browse files
author
mh
committed
linting the specs
1 parent dfdc2f3 commit 7d8bf31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/functions/trocla/gsub_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
context 'with prefix' do
2929
it { is_expected.to run.with_params('foo: %%TROCLA_test%%-bla', 'prefix' => 'test-').and_return 'foo: ===-bla' }
3030
end
31+
3132
context 'with key_to_prefix' do
32-
it { is_expected.to run.with_params("foo: %%TROCLA_test%%-bla\nbar: %%TROCLA_bar%%", 'key_to_prefix' => {'test' => 'bar-'}).and_return "foo: BBB-bla\nbar: AAA" }
33+
it { is_expected.to run.with_params("foo: %%TROCLA_test%%-bla\nbar: %%TROCLA_bar%%", 'key_to_prefix' => { 'test' => 'bar-' }).and_return "foo: BBB-bla\nbar: AAA" }
3334
end
3435
end

0 commit comments

Comments
 (0)