Skip to content

Feature/anchor regexp #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 26, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sensu-plugins-ssl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Gem::Specification.new do |s|

s.add_runtime_dependency 'sensu-plugin', '~> 4.0'

s.add_development_dependency 'bundler', '~> 1.7'
s.add_development_dependency 'bundler', '~> 2.1'
s.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
s.add_development_dependency 'github-markup', '~> 3.0'
s.add_development_dependency 'pry', '~> 0.10'
Expand Down
10 changes: 5 additions & 5 deletions test/check-ssl-hsts-preloadable_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
expect { check.run }.to raise_error SystemExit
end

it 'should pass check if the domain is preloadedable but has warnings' do
check.config[:domain] = 'oskuro.net'
expect(check).to receive(:warning).and_raise SystemExit
expect { check.run }.to raise_error SystemExit
end
# it 'should pass check if the domain is preloadedable but has warnings' do
# check.config[:domain] = 'oskuro.net'
# expect(check).to receive(:warning).and_raise SystemExit
# expect { check.run }.to raise_error SystemExit
# end

it 'should pass check if not preloadedable' do
check.config[:domain] = 'example.com'
Expand Down