Sha256: 65f987bf26a78e0a2a0a9573f7f870788c3e3b5e20f50a351c0293a6d2498d35

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

# frozen_string_literal: true

require File.expand_path("../spec_helper", __FILE__)

module Danger
  describe Danger::DangerAutoLabel do
    it "should be a plugin" do
      expect(Danger::DangerAutoLabel.new(nil)).to be_a Danger::Plugin
    end

    describe "with Dangerfile" do
      before do
        @dangerfile = testing_dangerfile
        @my_plugin = @dangerfile.auto_label
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
danger-auto_label-1.3.1 spec/auto_label_spec.rb
danger-auto_label-1.3.0 spec/auto_label_spec.rb
danger-auto_label-1.2.0 spec/auto_label_spec.rb
danger-auto_label-1.1.0 spec/auto_label_spec.rb