Skip to content

Commit e24792c

Browse files
committed
fix spec (wrong ruby version)
1 parent 6bc5294 commit e24792c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/lib/ruby_dep/warning_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
end
5454

5555
context 'with an insecure base Ruby' do
56-
let(:ruby_version) { '2.2.3' }
56+
let(:ruby_version) { '2.2.0' }
5757
it 'shows warning about vulnerability' do
5858
expect(STDERR).to have_received(:puts).with(
5959
/RubyDep: WARNING: your Ruby has security vulnerabilities!/)
@@ -79,7 +79,7 @@
7979
end
8080

8181
context 'with an untracked ruby' do
82-
context 'when the JRuby is not known to be vulnerable' do
82+
context 'when the Ruby is not listed' do
8383
let(:ruby_version) { '1.2.3' }
8484
let(:ruby_engine) { 'ironruby' }
8585
it 'shows warning about vulnerability' do

0 commit comments

Comments
 (0)