Skip to content

Commit 10b9fd8

Browse files
committed
Grammar fixes from prior search/replace
1 parent 1933b75 commit 10b9fd8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/dev/integration-tests.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe 'whatever behavior' do
2222
# @result[:logs] is a String containing everything printed to STDERR (Logger)
2323
# @result[:output] is a String containing everything printed to STDOUT
2424
# @result[:diffs] is an Array of differences
25-
# @result[:exitcode] is a Integer representing the exit code: 0 = no changes, 1 = failure, 2 = success, with changes
25+
# @result[:exitcode] is an Integer representing the exit code: 0 = no changes, 1 = failure, 2 = success, with changes
2626
# @result[:exception] contains any exception that was thrown
2727
end
2828

@@ -46,7 +46,7 @@ describe 'whatever behavior' do
4646
# @result[:logs] is a String containing everything printed to STDERR (Logger)
4747
# @result[:output] is a String containing everything printed to STDOUT
4848
# @result[:diffs] is an Array of differences
49-
# @result[:exitcode] is a Integer representing the exit code: 0 = no changes, 1 = failure, 2 = success, with changes
49+
# @result[:exitcode] is an Integer representing the exit code: 0 = no changes, 1 = failure, 2 = success, with changes
5050
# @result[:exception] contains any exception that was thrown
5151
end
5252

lib/octocatalog-diff/cli/options/puppet_master_timeout.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def parse(parser, options)
1414
cli_name: 'puppet-master-timeout',
1515
option_name: 'puppet_master_timeout',
1616
desc: 'Puppet Master catalog retrieval timeout in seconds',
17-
validator: ->(x) { x.to_i > 0 || raise(ArgumentError, 'Specify timeout as a integer greater than 0') },
17+
validator: ->(x) { x.to_i > 0 || raise(ArgumentError, 'Specify timeout as an integer greater than 0') },
1818
translator: ->(x) { x.to_i }
1919
)
2020
end

spec/octocatalog-diff/tests/cli/options/puppet_master_timeout_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
it 'should raise error if --puppet-master-timeout == 0' do
1414
expect do
1515
run_optparse(['--puppet-master-timeout', '0'])
16-
end.to raise_error(ArgumentError, 'Specify timeout as a integer greater than 0')
16+
end.to raise_error(ArgumentError, 'Specify timeout as an integer greater than 0')
1717
end
1818

1919
it 'should raise error if --puppet-master-timeout evaluates to 0' do
2020
expect do
2121
run_optparse(['--puppet-master-timeout', 'chickens'])
22-
end.to raise_error(ArgumentError, 'Specify timeout as a integer greater than 0')
22+
end.to raise_error(ArgumentError, 'Specify timeout as an integer greater than 0')
2323
end
2424

2525
it 'should handle --to-puppet-master-timeout' do

0 commit comments

Comments
 (0)