spec/licensee/matchers/dice_matcher_spec.rb in licensee-9.15.2 vs spec/licensee/matchers/dice_matcher_spec.rb in licensee-9.15.3
- old
+ new
@@ -32,11 +32,11 @@
context 'without a match' do
let(:content) { 'Not really a license' }
it "doesn't match" do
- expect(subject.match).to be(nil)
+ expect(subject.match).to be_nil
expect(subject.matches).to be_empty
expect(subject.confidence).to be(0)
end
end
@@ -45,10 +45,10 @@
"#{sub_copyright_info(mit)}\n\n#{sub_copyright_info(gpl)}"
end
it "doesn't match" do
expect(content).not_to be_detected_as(gpl)
- expect(subject.match).to be(nil)
+ expect(subject.match).to be_nil
expect(subject.matches).to be_empty
expect(subject.confidence).to be(0)
end
end