Sha256: da30f1849ad060abdb3501e6c5e7cf31f062da456ed56eb3e7077d784b5a566d
Contents?: true
Size: 715 Bytes
Versions: 5
Compression:
Stored size: 715 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) describe 'XCRes::InstallCommand' do def subject XCRes::InstallCommand end before do @cmd = subject.new('xcres', [], {}) @cmd.stubs(:project).returns(xcodeproj) end describe '#prefix_headers' do it 'should return the expected prefix headers' do @cmd.prefix_headers.to_a.should == [Pathname('Example/Example-Prefix.pch')] end it 'should return empty array if a target has no value for GCC_PREFIX_HEADER' do @cmd.target.build_configurations.each do |config| config.build_settings.stubs(:[]).with('GCC_PREFIX_HEADER').returns(nil) end @cmd.prefix_headers.to_a.should == [] end end end
Version data entries
5 entries across 5 versions & 1 rubygems