require File.expand_path("../spec_helper", __FILE__) # rubocop:disable Metrics/ModuleLength module Danger # rubocop:disable Metrics/BlockLength describe Danger::DangerTodoist do it "should be a plugin" do expect(Danger::DangerTodoist.new(nil)).to be_a Danger::Plugin end describe "with Dangerfile" do before do @dangerfile = testing_dangerfile @todoist = @dangerfile.todoist end context "changed files containing newly introduced todos" do before do patch = <