Sha256: 36ec9ab8f4a0894f27e25dafd35c7b58235173124c7f039eb7660a1597866269

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

require File.expand_path('../spec_helper', __FILE__)

module Schoutedenapus
  describe Converter do
    describe 'Conversion' do
      it 'can convert a podspec' do
        fixture = File.new('spec/fixtures/Package.swift').read()
        spec = Pod::Specification.from_file('spec/fixtures/Stencil.podspec.json')

        actual = Converter.new(spec).to_s

        actual.should == fixture
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cocoapods-schoutedenapus-0.0.2 spec/converter_spec.rb
cocoapods-schoutedenapus-0.0.1 spec/converter_spec.rb