Skip to content

Commit 8e15ae2

Browse files
committed
Add failing tests
1 parent 9b62a55 commit 8e15ae2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

spec/errbit_plugin/none_issue_tracker_spec.rb

+21
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,25 @@
33
require "spec_helper"
44

55
RSpec.describe ErrbitPlugin::NoneIssueTracker do
6+
subject { described_class.new({}) }
7+
8+
it { expect(described_class.label).to eq("none") }
9+
10+
it { expect(described_class.note).to start_with("When no issue tracker") }
11+
12+
it { expect(described_class.fields).to eq({}) }
13+
14+
it { expect(described_class.icons).not_to be_empty }
15+
16+
# TODO: .read_static_file
17+
18+
it { expect(subject.configured?).to eq(false) }
19+
20+
it { expect(subject.errors).to eq({}) }
21+
22+
it { expect(subject.url).to eq("") }
23+
24+
it { expect(subject.create_issue).to eq(false) }
25+
26+
it { expect(subject.close_issue).to eq(false) }
627
end

0 commit comments

Comments
 (0)