Add support for non-standard primary keys
Add support for non-standard primary keys
Add spec for non-standard primary key for #169
Merge pull request #169 from mattbeedle/primary-key

Add support for non-standard primary keys
Catch ActiveRecord::NoDatabaseError in spec_helper
VERSION 0.7.4
Convert specs to RSpec 2.14.8 syntax with Transpec

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

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

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

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

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

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

* 9 conversions
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)

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

* 4 conversions
    from: > expected
      to: be > expected

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

* 1 conversion
    from: =~ /pattern/
      to: match(/pattern/)

* 1 conversion
    from: obj.stub(:message).and_return { value }
      to: obj.stub(:message) { value }

See also: https://github.com/yujinakayama/transpec#supported-conversions
Stop supporting should syntax in RSpec