Sha256: 0ee8722b27f993e69531eebb46b268d07ada4acbfb238cc4cf7a704e62f4930b
Contents?: true
Size: 285 Bytes
Versions: 197
Compression:
Stored size: 285 Bytes
Contents
require "spec_helper" describe "double" do it "is an alias for stub and mock" do double().should be_a(RSpec::Mocks::Mock) end it "uses 'Double' in failure messages" do double = double('name') expect {double.foo}.to raise_error(/Double "name" received/) end end
Version data entries
197 entries across 143 versions & 17 rubygems