Commit 4c093ab3 authored by Boris Bügling's avatar Boris Bügling

Add spec for watchOS PCH.

parent 3a2c3118
...@@ -35,6 +35,11 @@ module Pod ...@@ -35,6 +35,11 @@ module Pod
@gen.generate.should.include?('#import <Cocoa/Cocoa.h>') @gen.generate.should.include?('#import <Cocoa/Cocoa.h>')
end end
it 'imports Foundation for watchOS platforms' do
@gen.stubs(:platform).returns(Pod::Platform.watchos)
@gen.generate.should.include?('#import <Foundation/Foundation.h>')
end
it 'writes the header file to the disk' do it 'writes the header file to the disk' do
path = temporary_directory + 'Test.h' path = temporary_directory + 'Test.h'
@gen.save_as(path) @gen.save_as(path)
......
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