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