begin migrating rspec to new syntax
Convert specs to RSpec 3.0.4 syntax with Transpec

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

* 153 conversions
    from: obj.should
      to: expect(obj).to

* 108 conversions
    from: == expected
      to: eq(expected)

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

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

* 18 conversions
    from: Klass.any_instance.should_receive(:message)
      to: expect_any_instance_of(Klass).to receive(:message)

* 2 conversions
    from: Klass.any_instance.stub(:message)
      to: allow_any_instance_of(Klass).to receive(:message)

* 2 conversions
    from: obj.stub_chain(:message1, :message2)
      to: allow(obj).to receive_message_chain(:message1, :message2)

* 1 conversion
    from: describe 'some request' { }
      to: describe 'some request', :type => :request { }

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

For more details: https://github.com/yujinakayama/transpec#supported-conversions