Sha256: 763227eae7fa5d0b91489cebb01af8aecc66afd539e5d6e715d528afb05ba64e

Contents?: true

Size: 666 Bytes

Versions: 10

Compression:

Stored size: 666 Bytes

Contents

require 'rspec'
require 'xcoder'

describe Xcode::Scheme do 
  before do
    @scheme = Xcode.project('TestProject').scheme('TestProject')
  end
  
  it "should parse the name" do 
    @scheme.name.should=="TestProject"
  end
  
  it "should be able to build" do
    builder = @scheme.builder
    builder.clean
    builder.build
    File.exists?(builder.app_path).should==true
    File.exists?(builder.dsym_path).should==true
  end
  
  it "should be able to package" do
    builder = @scheme.builder
    builder.clean
    builder.build
    builder.package
    File.exists?(builder.dsym_zip_path).should==true
    File.exists?(builder.ipa_path).should==true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
xcoder-0.0.21 spec/scheme_spec.rb
xcoder-0.0.20 spec/scheme_spec.rb
xcoder-0.0.19 spec/scheme_spec.rb
xcoder-0.0.18 spec/scheme_spec.rb
xcoder-0.0.17 spec/scheme_spec.rb
xcoder-0.0.16 spec/scheme_spec.rb
xcoder-0.0.15 spec/scheme_spec.rb
xcoder-0.0.14 spec/scheme_spec.rb
xcoder-0.0.12 spec/scheme_spec.rb
xcoder-0.0.11 spec/scheme_spec.rb