Sha256: 8e629ff37a0797c8612beea6bcd073c524df8bbeeb8f11dfa6cb200de7afe450

Contents?: true

Size: 523 Bytes

Versions: 2

Compression:

Stored size: 523 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
danger-ios_logs-0.1.1 spec/shared_example_groups/files_in_changeset.rb
danger-ios_logs-0.1.0 spec/shared_example_groups/files_in_changeset.rb