Sha256: 8f8da5f2c67d008eaaf8ebd7956af823ac4d2bca45e57d85970d462a8c8d2029
Contents?: true
Size: 362 Bytes
Versions: 9
Compression:
Stored size: 362 Bytes
Contents
require 'spec_helper' describe APIMatchers::HTTPStatusCode::Base do let(:setup) { OpenStruct.new } subject { APIMatchers::HTTPStatusCode::Base.new(setup) } describe "#matches?" do it "should raise Not Implement Exception" do expect { subject.matches?(302) }.to raise_error(NotImplementedError, "not implemented on #{subject}") end end end
Version data entries
9 entries across 9 versions & 1 rubygems