From 602933f7890273bfc48a4b800f25c8bdef71f16c Mon Sep 17 00:00:00 2001 From: Cezary Baginski Date: Sun, 9 Oct 2016 19:00:49 +0200 Subject: [PATCH] fix spelling mistake --- spec/lib/ruby_dep/travis_spec.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/lib/ruby_dep/travis_spec.rb b/spec/lib/ruby_dep/travis_spec.rb index 8caa62a..cafb967 100644 --- a/spec/lib/ruby_dep/travis_spec.rb +++ b/spec/lib/ruby_dep/travis_spec.rb @@ -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 @@ -30,7 +30,7 @@ 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 @@ -38,14 +38,14 @@ 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 @@ -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 @@ -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