Sha256: 891a0253118f4cc13e87bb49558eaade981a9e1ff3948323cdea8aab0eba0a85
Contents?: true
Size: 402 Bytes
Versions: 23
Compression:
Stored size: 402 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper.rb' 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-rspec/tickets/496") do BaseClass.should_receive(:new).once SubClass.new end end end
Version data entries
23 entries across 23 versions & 7 rubygems
Version | Path |
---|---|
rspec-1.1.9 | spec/spec/mocks/bug_report_496.rb |
typo-5.1.98 | vendor/plugins/rspec/spec/spec/mocks/bug_report_496.rb |
typo-5.2 | vendor/plugins/rspec/spec/spec/mocks/bug_report_496.rb |