Sha256: 895c6e82723d42baa7aaaace66c74852c4eb2bacc36c1c2e9ba8e39141bd2df6
Contents?: true
Size: 218 Bytes
Versions: 11
Compression:
Stored size: 218 Bytes
Contents
require 'spec_helper' describe "An RSpec Mock" do it "should hide internals in its inspect representation" do m = double('cup') m.inspect.should =~ /#<RSpec::Mocks::Mock:0x[a-f0-9.]+ @name="cup">/ end end
Version data entries
11 entries across 11 versions & 1 rubygems