Sha256: 8ade35d6308d9ea97c1ffe49cc701154a3caddafee6d0942353ab419dddb91b8

Contents?: true

Size: 527 Bytes

Versions: 2

Compression:

Stored size: 527 Bytes

Contents

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

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

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

      it "some" do
        @my_plugin.print_links_only

        expect(@dangerfile.status_report[:warnings]).to eq([])
      end


    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
danger-jira_issue_links-0.1.1 spec/jira_issue_links_spec.rb
danger-jira_issue_links-0.1.0 spec/jira_issue_links_spec.rb