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
dchelimsky-rspec-1.1.10 spec/spec/mocks/bug_report_496.rb
dchelimsky-rspec-1.1.11 spec/spec/mocks/bug_report_496.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/spec/spec/mocks/bug_report_496.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/spec/spec/mocks/bug_report_496.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/spec/spec/mocks/bug_report_496.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/spec/spec/mocks/bug_report_496.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_496.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_496.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_496.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_496.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_496.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/spec/mocks/bug_report_496.rb
mack-0.8.2 lib/gems/rspec-1.1.11/spec/spec/mocks/bug_report_496.rb
pictrails-0.5.0 vendor/plugins/rspec/spec/spec/mocks/bug_report_496.rb
rspec-1.1.10 spec/spec/mocks/bug_report_496.rb
rspec-1.1.6 spec/spec/mocks/bug_report_496.rb
rspec-1.1.7 spec/spec/mocks/bug_report_496.rb
rspec-1.1.5 spec/spec/mocks/bug_report_496.rb
rspec-1.1.11 spec/spec/mocks/bug_report_496.rb
rspec-1.1.8 spec/spec/mocks/bug_report_496.rb