Commit 71f4eb17 authored by Peter M. Goldstein's avatar Peter M. Goldstein

Fix a couple of minor typos in the unit tests

parent 77f3b857
...@@ -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