Permalink
Browse files

Make specs green after using $(PODS_ROOT)/Headers instead of Pods/Hea…

…ders.
  • Loading branch information...
1 parent ab3e75a commit cc7b8e517a0739a46297d0bd27d132131e349c90 @kommen kommen committed Nov 24, 2011
Showing with 5 additions and 5 deletions.
  1. +1 −1 spec/unit/installer_spec.rb
  2. +4 −4 spec/unit/specification_spec.rb
@@ -10,7 +10,7 @@
end
it "sets the header search paths where installed Pod headers can be found" do
- @xcconfig['HEADER_SEARCH_PATHS'].should == '"Pods/Headers"'
+ @xcconfig['HEADER_SEARCH_PATHS'].should == '"$(PODS_ROOT)/Headers"'
@xcconfig['ALWAYS_SEARCH_USER_PATHS'].should == 'YES'
end
@@ -209,8 +209,8 @@ def @spec.copy_header_mapping(from)
Pathname.new('ns') + from.basename
end
@spec.header_search_paths.should == %w{
- "Pods/Headers/SSZipArchive"
- "Pods/Headers/SSZipArchive/ns"
+ "$(PODS_ROOT)/Headers/SSZipArchive"
+ "$(PODS_ROOT)/Headers/SSZipArchive/ns"
}
end
@@ -220,8 +220,8 @@ def @spec.copy_header_mapping(from)
Pathname.new('ns') + from.basename
end
@spec.header_search_paths.should == %w{
- "Pods/Headers/AnotherRoot"
- "Pods/Headers/AnotherRoot/ns"
+ "$(PODS_ROOT)/Headers/AnotherRoot"
+ "$(PODS_ROOT)/Headers/AnotherRoot/ns"
}
end

0 comments on commit cc7b8e5

Please sign in to comment.