Sha256: 5426c789b1bb44966e546d0a0c297bad57060c064002c3fec638f9d2b1152d18

Contents?: true

Size: 558 Bytes

Versions: 3

Compression:

Stored size: 558 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'spec_helper')

describe Slather do

  describe "::prepare_pods" do
    it "should setup the pods project for coverage" do
      pods_mock = double(Object)
      
      installer_mock = double(Object)
      project_mock = double(Xcodeproj::Project)
      installer_mock.stub(:project).and_return(project_mock)
      expect(project_mock).to receive(:slather_setup_for_coverage)

      expect(pods_mock).to receive(:post_install).and_yield(installer_mock)

      Slather.prepare_pods(pods_mock)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slather-1.3.0 spec/slather/slather_spec.rb
slather-1.2.1 spec/slather/slather_spec.rb
slather-1.2.0 spec/slather/slather_spec.rb