square/fdoc — pull request #58 by loganhasson (2014-05-16 04:12:06+00:00)
Title: Update specs to RSpec 2.14.8 syntax

This conversion is done by Transpec 1.13.1 with the following command:
transpec spec/fdoc/presenters spec/fdoc/endpoint_scaffold_spec.rb spec/fdoc/endpoint_spec.rb spec/fdoc/service_spec.rb spec/fdoc/spec_watcher_spec.rb

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

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

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

* 8 conversions
from: obj.should have(n).response_codes
to: expect(obj.response_codes.size).to eq(n)

* 7 conversions
from: obj.should have(n).keys
to: expect(obj.keys.size).to eq(n)

* 5 conversions
from: obj.should_not
to: expect(obj).not_to

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

* 1 conversion
from: =~ [1, 2]
to: match_array([1, 2])

* 1 conversion
from: its(:attr) { }
to: describe '#attr' do subject { super().attr }; it { } end