Skip to content
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

fix spelling mistake #27

Merged
merged 1 commit into from
Oct 9, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions spec/lib/ruby_dep/travis_spec.rb
Original file line number Diff line number Diff line change
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