Sha256: 9066d94ee720b40d6cd8968357b1f54813de006b5cdbb1428be7749f04e77316
Contents?: true
Size: 513 Bytes
Versions: 9
Compression:
Stored size: 513 Bytes
Contents
require 'spec_helper' describe VersionCake::ResponseStrategy::Base do describe '.lookup' do let(:strategy) { :http_content_type } subject(:found_strategy) { VersionCake::ResponseStrategy::Base.lookup(strategy) } it { expect(found_strategy.class).to eq VersionCake::ResponseStrategy::HttpContentTypeStrategy } end describe '#execute' do subject(:execute) { VersionCake::ResponseStrategy::Base.new.execute(nil,nil,nil,nil) } it { expect { execute }.to raise_error Exception } end end
Version data entries
9 entries across 9 versions & 1 rubygems