Skip to content

Commit

Permalink
fix cops
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Jun 2, 2014
1 parent 75169c1 commit 3198c4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/bin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
end
it 'connects via SCP' do
`scp -S hss spec/test/config.yml l:#{Dir.pwd}/scp_test`
expect(File.exist? 'scp_test').to be_true
expect(File.exist? 'scp_test').to be_truthy
end
end
6 changes: 3 additions & 3 deletions spec/hss_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
describe '#load_helpers' do
it 'loads helper modules' do
expect(handler.helpers).to be_an_instance_of Array
expect(handler.helpers).to have_at_least(3).items
expect(handler.helpers.size).to be >= 3
end
it 'accepts a helper_path' do
h = HSS::Handler.new(config: config, helpers: 'spec/test/good_helpers')
Expand Down Expand Up @@ -104,8 +104,8 @@

describe '#check' do
it 'compares an input to a short form' do
expect(parser.check('a', '[a-z]')).to be_true
expect(parser.check('1', '[a-z]')).to be_false
expect(parser.check('a', '[a-z]')).to be_truthy
expect(parser.check('1', '[a-z]')).to be_falsey
end
end

Expand Down

0 comments on commit 3198c4d

Please sign in to comment.