Sha256: e79afaf6d75a689870e8842b0cc6ccaaa8e1133503eddedf4297fb1c02f68d77

Contents?: true

Size: 588 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
xcodeproject-0.1.1 lib/xcodeproject/spec/xc_configuration_list_spec.rb