Sha256: bebf03f9a75a16b4314efaf973b4a8ddde1ebc8b2f62ee3dff93f2d6b817b515

Contents?: true

Size: 554 Bytes

Versions: 1

Compression:

Stored size: 554 Bytes

Contents

# frozen_string_literal: true

shared_examples_for 'files in changeset' do
  it 'should have three logs' do
    expect(log_method.length).to eq(3)
  end

  it 'has `print` log in first log element' do
    expect(log_method[0]).to eq('There remain `print` in the modified code.')
  end

  it 'has `print` log in second log element' do
    expect(log_method[1]).to eq('There remain `print` in the modified code.')
  end

  it 'has `NSLog` log in third log element' do
    expect(log_method[2]).to eq('There remain `NSLog` in the modified code.')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-ios_logs-0.1.2 spec/shared_example_groups/files_in_changeset.rb