Sha256: e2614ea15787f9a6fc3db1f882a59bc0a68d9cc67c9eca586495c535a573ee60
Contents?: true
Size: 444 Bytes
Versions: 35
Compression:
Stored size: 444 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper.rb' module BugReport496 class BaseClass end class SubClass < BaseClass end describe "a message expectation on a base class object" do it "should correctly pick up message sent to it subclass" do pending("fix for http://rspec.lighthouseapp.com/projects/5645/tickets/496") do BaseClass.should_receive(:new).once SubClass.new end end end end
Version data entries
35 entries across 35 versions & 5 rubygems