Sha256: ff44828e382e0727cc1a8dbb2bd129018892cbe6a69f394e39efda51e0f11efa

Contents?: true

Size: 588 Bytes

Versions: 12

Compression:

Stored size: 588 Bytes

Contents

require "spec_helper"

describe XcodeProject::XCConfigurationList do
	before(:each) { @data = prepare_example_project.read }
	let(:obj)     { obj = @data.target('example').build_configurations_list }

	describe "#build_configuration" do
		let(:name) { 'Release' }
		
		it "returns build configuration object" do
			obj.build_configuration(name).should be_an_instance_of(XcodeProject::XCBuildConfiguration)
		end
	end

	describe "#build_configurations" do
		it "returns an array of build configuration objects" do
			obj.build_configurations.should be_an_instance_of(Array)
		end
	end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
xcodeproject-0.3.13 spec/xc_configuration_list_spec.rb
xcodeproject-0.3.12 spec/xc_configuration_list_spec.rb
xcodeproject-0.3.11 spec/xc_configuration_list_spec.rb
xcodeproject-0.3.10 spec/xc_configuration_list_spec.rb
xcodeproject-0.3.9 spec/xc_configuration_list_spec.rb
xcodeproject-0.3.8 spec/xc_configuration_list_spec.rb
xcodeproject-0.3.6 spec/xc_configuration_list_spec.rb
xcodeproject-0.3.5 spec/xc_configuration_list_spec.rb
xcodeproject-0.3.1 spec/xc_configuration_list_spec.rb
xcodeproject-0.3.0 spec/xc_configuration_list_spec.rb
xcodeproject-0.2.4 spec/xc_configuration_list_spec.rb
xcodeproject-0.2.3 lib/xcodeproject/spec/xc_configuration_list_spec.rb