require File.expand_path('../spec_helper', __FILE__) require 'shared_example_groups/files_in_changeset' require 'shared_example_groups/files_not_in_changeset' require 'shared_example_groups/logs_in_dockerfile' # rubocop:disable Metrics/BlockLength module Danger describe Danger::DangerIosLogs do it 'should be a plugin' do expect(described_class).to be < Danger::Plugin end context 'with Dangerfile' do before do @dangerfile = testing_dangerfile @ios_logs = @dangerfile.ios_logs end context 'changed files containing newly introduced logs' do before do patch = <