Commit ee31c98e authored by Fabio Pelosin's avatar Fabio Pelosin

Merge pull request #806 from petergoldstein/feature/fix_whether_typos

Fix a few typos in the test messages
parents 77f3b857 003ee24e
...@@ -8,7 +8,7 @@ module Pod ...@@ -8,7 +8,7 @@ module Pod
@pod = LocalPod.new(fixture_spec('banana-lib/BananaLib.podspec'), temporary_sandbox, Platform.ios) @pod = LocalPod.new(fixture_spec('banana-lib/BananaLib.podspec'), temporary_sandbox, Platform.ios)
end end
it "check's out a specific commit" do it "checks out a specific commit" do
@pod.top_specification.stubs(:source).returns( @pod.top_specification.stubs(:source).returns(
:git => fixture('banana-lib'), :commit => 'fd56054' :git => fixture('banana-lib'), :commit => 'fd56054'
) )
...@@ -18,7 +18,7 @@ module Pod ...@@ -18,7 +18,7 @@ module Pod
(@pod.root + 'README').read.strip.should == 'first commit' (@pod.root + 'README').read.strip.should == 'first commit'
end end
it "check's out a specific branch" do it "checks out a specific branch" do
@pod.top_specification.stubs(:source).returns( @pod.top_specification.stubs(:source).returns(
:git => fixture('banana-lib'), :branch => 'topicbranch' :git => fixture('banana-lib'), :branch => 'topicbranch'
) )
...@@ -28,7 +28,7 @@ module Pod ...@@ -28,7 +28,7 @@ module Pod
(@pod.root + 'README').read.strip.should == 'topicbranch' (@pod.root + 'README').read.strip.should == 'topicbranch'
end end
it "check's out a specific tag" do it "checks out a specific tag" do
@pod.top_specification.stubs(:source).returns( @pod.top_specification.stubs(:source).returns(
:git => fixture('banana-lib'), :tag => 'v1.0' :git => fixture('banana-lib'), :tag => 'v1.0'
) )
......
...@@ -7,7 +7,7 @@ module Pod ...@@ -7,7 +7,7 @@ module Pod
end end
describe "for Mercurial" do describe "for Mercurial" do
it "check's out a specific revision" do it "checks out a specific revision" do
@pod.top_specification.stubs(:source).returns( @pod.top_specification.stubs(:source).returns(
:hg => fixture('mercurial-repo'), :revision => '46198bb3af96' :hg => fixture('mercurial-repo'), :revision => '46198bb3af96'
) )
...@@ -27,7 +27,7 @@ module Pod ...@@ -27,7 +27,7 @@ module Pod
describe "for Subversion" do describe "for Subversion" do
it "check's out a specific revision" do it "checks out a specific revision" do
@pod.top_specification.stubs(:source).returns( @pod.top_specification.stubs(:source).returns(
:svn => "file://#{fixture('subversion-repo')}", :revision => '1' :svn => "file://#{fixture('subversion-repo')}", :revision => '1'
) )
...@@ -36,7 +36,7 @@ module Pod ...@@ -36,7 +36,7 @@ module Pod
(@pod.root + 'README').read.strip.should == 'first commit' (@pod.root + 'README').read.strip.should == 'first commit'
end end
it "check's out a specific tag" do it "checks out a specific tag" do
@pod.top_specification.stubs(:source).returns( @pod.top_specification.stubs(:source).returns(
:svn => "file://#{fixture('subversion-repo')}", :tag => 'tag-1' :svn => "file://#{fixture('subversion-repo')}", :tag => 'tag-1'
) )
...@@ -45,7 +45,7 @@ module Pod ...@@ -45,7 +45,7 @@ module Pod
(@pod.root + 'README').read.strip.should == 'tag 1' (@pod.root + 'README').read.strip.should == 'tag 1'
end end
it "check's out the head version" do it "checks out the head version" do
@pod.top_specification.stubs(:source).returns( @pod.top_specification.stubs(:source).returns(
:svn => "file://#{fixture('subversion-repo')}", :revision => '1' :svn => "file://#{fixture('subversion-repo')}", :revision => '1'
) )
......
...@@ -142,7 +142,7 @@ describe "Pod::Podfile" do ...@@ -142,7 +142,7 @@ describe "Pod::Podfile" do
end end
describe "concerning targets (dependency groups)" do describe "concerning targets (dependency groups)" do
it "returns wether or not a target has any dependencies" do it "returns whether or not a target has any dependencies" do
Pod::Podfile.new do Pod::Podfile.new do
end.target_definitions[:default].should.be.empty end.target_definitions[:default].should.be.empty
Pod::Podfile.new do Pod::Podfile.new do
...@@ -291,7 +291,7 @@ describe "Pod::Podfile" do ...@@ -291,7 +291,7 @@ describe "Pod::Podfile" do
@podfile.target_definitions[:nested_osx_target].should.not.be.exclusive @podfile.target_definitions[:nested_osx_target].should.not.be.exclusive
end end
it "returns the specified configurations and wether it should be based on a debug or a release build" do it "returns the specified configurations and whether it should be based on a debug or a release build" do
Pod::Podfile::UserProject.any_instance.stubs(:project) Pod::Podfile::UserProject.any_instance.stubs(:project)
all = { 'Release' => :release, 'Debug' => :debug, 'Test' => :debug } all = { 'Release' => :release, 'Debug' => :debug, 'Test' => :debug }
@podfile.target_definitions[:default].user_project.build_configurations.should == all.merge('iOS App Store' => :release) @podfile.target_definitions[:default].user_project.build_configurations.should == all.merge('iOS App Store' => :release)
......
...@@ -2,7 +2,7 @@ require File.expand_path('../../spec_helper', __FILE__) ...@@ -2,7 +2,7 @@ require File.expand_path('../../spec_helper', __FILE__)
module Pod module Pod
describe Version do describe Version do
it "returns wether or not it's a `bleeding edge' version" do it "returns whether or not it's a `bleeding edge' version" do
version = Version.new('1.2.3') version = Version.new('1.2.3')
version.should.not.be.head version.should.not.be.head
version.head = true version.head = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment