Sha256: c4a74bd622cc8daec1a570dfaf5f63a29b54dc2e4228e6400f2bb60af7aeaae2

Contents?: true

Size: 519 Bytes

Versions: 2

Compression:

Stored size: 519 Bytes

Contents

# frozen_string_literal: true

require 'rspec'
require 'open3'

describe 'End to end Mac app testing' do
  subject do
    script = './endToEndBinMySample.sh'
    script_dir = File.join(File.dirname(__FILE__), '../')
    Dir.chdir script_dir do
      Open3.capture2e([script, script])
    end
  end

  let(:output) { subject.first }
  let(:status) { subject.last }

  xit 'compiles a mac app using cocoapods' do
    expect(output).to end_with("\nCalling MySample: MySample\n")
    expect(status).to be_success
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cocoapods-pack-1.0.1 spec/acceptance_spec.rb
cocoapods-pack-1.0.0 spec/acceptance_spec.rb