Sha256: 18f348318324fbe41519c452a0f99f31f2da84f74da35175ce31f0ace7810e20

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

require 'spec_helper'

RSpec.describe Pluginscan::IssuesPrinterFactory do
  describe ".create_printer" do
    it 'raises an error if it gets an unknown format' do
      expect{ Pluginscan::IssuesPrinterFactory.create_printer(:foo) }.to raise_error(Pluginscan::UnknownIssuesFormat)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pluginscan-0.9.0 spec/pluginscan/issues_scanner/issues_printer_factory_spec.rb