Sha256: 3748469a377d73739c63c1030888b9a3ddbcd82d2309266eba9fb5709083e177

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

shared_examples_for 'logs in dockerfile' do |log_files|
  it "should have #{log_files.count} logs" do
    expect(logs.length).to eq(log_files.count)
  end

  log_files.each_index do |index|
    log_file = log_files[index]
    it "should have log in #{log_file.file} at $#{log_file.line}" do
      expect(logs[index]).to eq(log_file)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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