Sha256: 66176185dd1d3573bcf3befa7ce988d54c99fdf03eb41a500bd5e85ecbcef74b
Contents?: true
Size: 401 Bytes
Versions: 2
Compression:
Stored size: 401 Bytes
Contents
require 'spec_helper' describe Kookaburra::APIDriver do subject { klass = Class.new(described_class) do def do_something api end end klass.new(configuration) } let(:configuration) { double(:configuration) } it 'requires subclasses to implement their #api method' do expect{ subject.do_something }.to raise_error(Kookaburra::ConfigurationError) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kookaburra-3.0.1 | spec/kookaburra/api_driver_spec.rb |
kookaburra-3.0.0 | spec/kookaburra/api_driver_spec.rb |