Sha256: d9620cc5060fe2ae51f048fafc4bad93cedcd3ac8c5de569e3fe14c95c7b633d

Contents?: true

Size: 599 Bytes

Versions: 2

Compression:

Stored size: 599 Bytes

Contents

require_relative 'spec_helper'

describe XcodeProject::XCConfigurationList do
  let(:obj) { @data.target('example').build_configurations_list }

  before(:each) do
    @data = prepare_example_project.read
  end

  describe '#build_configuration' do
    let(:name) { 'Release' }

    it 'returns build configuration object' do
      expect(obj.build_configuration(name)).to be_a(XcodeProject::XCBuildConfiguration)
    end
  end

  describe '#build_configurations' do
    it 'returns an array of build configuration objects' do
      expect(obj.build_configurations).to be_a(Array)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xcodeproject_swift-0.3.14 spec/xc_configuration_list_spec.rb
xcodeproject_swift-0.3.13 spec/xc_configuration_list_spec.rb