title: RSpec expecting call to overridden method of Celluloid base class
body: <p>When using RSpec to test class A that inherits another class B that inherits Celluloid, I am trying to set an expectation for a call of a method in class A that overrides its implementation on class B.</p>
  <p>Here's an example code:</p>
  <pre class="lang-rb prettyprint-override"><code>require 'celluloid'
  
  class B
    include Celluloid
  
    def method1
    end
  end
  
  class A &lt; B
    def initialize
    end
    def method1
      puts &quot;Called!&quot;
    end
    def method2
      method1
    end
  end
  </code></pre>
  <pre class="lang-rb prettyprint-override"><code>context &quot;test inherited&quot; do
    before(:each) do
      @instance = A.new
    end
  
    it &quot;should call metod1 on calling method2&quot; do
      expect(@instance).to receive(:method1)
  
      @instance.method2
    end
  end
  </code></pre>
  <p>This test generates the failure:</p>
  <pre><code>  1) test inherited should call metod1 on calling method2
       Failure/Error: expect(@instance).to receive(:method1)
       
         (#&lt;Celluloid::CellProxy(A:0x3fc733109b9c)&gt;).method1(*(any args))
             expected: 1 time with any arguments
             received: 0 times with any arguments
       # ./spec/api/sandbox.spec:13:in `block (2 levels) in &lt;top (required)&gt;'
  </code></pre>
  <p>can I get the Rspec to test that we're calling the overriding method, and so, make this test pass?</p>