Skip to content

Commit

Permalink
Merge pull request #27 from e2/fix-spelling-mistake
Browse files Browse the repository at this point in the history
fix spelling mistake
  • Loading branch information
e2 committed Oct 9, 2016
2 parents 22ce00c + 602933f commit ae7fa8a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec/lib/ruby_dep/travis_spec.rb
Expand Up @@ -10,7 +10,7 @@

context 'with a single ruby version' do
let(:yml) { YAML.dump('rvm' => %w(2.2.4)) }
it 'pessimistically locks with intial supported version' do
it 'pessimistically locks with initial supported version' do
expect(subject.version_constraint).to eq(['~> 2.2', '>= 2.2.4'])
end
end
Expand All @@ -30,22 +30,22 @@

context 'with a ruby prefix' do
let(:yml) { YAML.dump('rvm' => %w(ruby-2.2.4)) }
it 'pessimistically locks with intial supported version' do
it 'pessimistically locks with initial supported version' do
expect(subject.version_constraint).to eq(['~> 2.2', '>= 2.2.4'])
end
end

context 'with a jruby prefix' do
context 'with version 9.0.5.0' do
let(:yml) { YAML.dump('rvm' => %w(jruby-9.0.5.0)) }
it 'pessimistically locks with correct intial supported version' do
it 'pessimistically locks with correct initial supported version' do
expect(subject.version_constraint).to eq(['~> 2.2', '>= 2.2.3'])
end
end

context 'with version 9.0.4.0' do
let(:yml) { YAML.dump('rvm' => %w(jruby-9.0.4.0)) }
it 'pessimistically locks with correct intial supported version' do
it 'pessimistically locks with correct initial supported version' do
expect(subject.version_constraint).to eq(['~> 2.2', '>= 2.2.2'])
end
end
Expand All @@ -56,7 +56,7 @@
allow(subject).to receive(:abort)
end

it 'pessimistically locks with correct intial supported version' do
it 'pessimistically locks with correct initial supported version' do
expect(subject).to receive(:abort)
.with(/Unrecognized JRuby version: "9.0.6.0"/)
subject.version_constraint
Expand All @@ -65,14 +65,14 @@

context 'with version 9.1.0.0' do
let(:yml) { YAML.dump('rvm' => %w(jruby-9.1.0.0)) }
it 'pessimistically locks with correct intial supported version' do
it 'pessimistically locks with correct initial supported version' do
expect(subject.version_constraint).to eq(['~> 2.3', '>= 2.3.0'])
end
end

context 'with version 9.1.2.0' do
let(:yml) { YAML.dump('rvm' => %w(jruby-9.1.2.0)) }
it 'pessimistically locks with correct intial supported version' do
it 'pessimistically locks with correct initial supported version' do
expect(subject.version_constraint).to eq(['~> 2.3', '>= 2.3.0'])
end
end
Expand Down

0 comments on commit ae7fa8a

Please sign in to comment.