spec/fusuma/plugin/appmatcher_spec.rb in fusuma-plugin-appmatcher-0.4.0 vs spec/fusuma/plugin/appmatcher_spec.rb in fusuma-plugin-appmatcher-0.5.0

- old
+ new

@@ -40,10 +40,10 @@ context "when XDG_CURRENT_DESKTOP is UNKNOWN" do before do allow(Appmatcher).to receive(:xdg_current_desktop).and_return("UNKNOWN") allow(MultiLogger).to receive(:error) end - it { expect { subject }.to raise_error(SystemExit) } + it { is_expected.to eq Appmatcher::UnsupportedBackend } end end end end end