changeset 15: | 64acf98d15f4 |
author: | moriq@moriq.com |
date: | Mon Mar 10 10:12:58 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | add plugins rspec |
1require File.dirname(__FILE__) + '/../../spec_helper.rb'23describe "An RSpec Mock" do4 it "should hide internals in its inspect representation" do5 m = mock('cup')6 m.inspect.should =~ /#<Spec::Mocks::Mock:0x[a-f0-9.]+ @name="cup">/7 end8end