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'23module Bug76114 class Foo5 end67 class Bar < Foo8 end910 describe "A Partial Mock" do11 it "should respect subclasses" do12 Foo.stub!(:new).and_return(Object.new)13 end1415 it "should" do16 Bar.new.class.should == Bar17 end18 end19end