Sha256: 8f4a74cfcc2408d3e9a196b3e940c3c1bfb06109347408d02099108840d4e816
Contents?: true
Size: 304 Bytes
Versions: 7
Compression:
Stored size: 304 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) describe '#dont_allow' do subject { Object.new } it "raises a TimesCalledError if the method is actually called" do dont_allow(subject).foobar expect { subject.foobar }.to raise_error(RR::Errors::TimesCalledError) end end
Version data entries
7 entries across 7 versions & 1 rubygems