Move a method stub from #around hook to #before hook
Convert specs to RSpec 2.14.7 syntax with Transpec

This conversion is done by Transpec 1.6.1 with the following command:
    transpec

* 27 conversions
    from: expect(collection).to have(n).items
      to: expect(collection.size).to eq(n)

* 25 conversions
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

* 20 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

* 2 conversions
    from: Klass.any_instance.should_not_receive(:message)
      to: expect_any_instance_of(Klass).not_to receive(:message)

* 1 conversion
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)

* 1 conversion
    from: Klass.any_instance.should_receive(:message)
      to: expect_any_instance_of(Klass).to receive(:message)

* 1 conversion
    from: Klass.any_instance.stub(:message)
      to: allow_any_instance_of(Klass).to receive(:message)
Code style
Enforce `expect` syntax with rspec-mocks
Merge pull request #704 from yujinakayama/rspec-syntax

Convert specs to the latest RSpec syntax