Convert specs to RSpec 2.99.0 syntax with Transpec

This conversion is done by Transpec 2.2.4 with the following command:
    transpec spec/routing

* 64 conversions
    from: it { should ... }
      to: it { is_expected.to ... }

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

For more details: https://github.com/yujinakayama/transpec#supported-conversions
Convert specs to RSpec 2.99.0 syntax with Transpec

This conversion is done by Transpec 2.2.4 with the following command:
    transpec spec/controllers/application_controller_spec.rb

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

For more details: https://github.com/yujinakayama/transpec#supported-conversions
Convert specs to RSpec 2.99.0 syntax with Transpec

This conversion is done by Transpec 2.2.4 with the following command:
    transpec spec/controllers/tag_statuses_controller_spec.rb

* 3 conversions
    from: it { should ... }
      to: it { is_expected.to ... }

* 1 conversion
    from: == expected
      to: eq(expected)

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

* 1 conversion
    from: it { should have_at_least(n).items }
      to: it 'has at least n tags' do expect(subject.size).to be >= n end

* 1 conversion
    from: it { should_not ... }
      to: it { is_expected.not_to ... }

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

For more details: https://github.com/yujinakayama/transpec#supported-conversions
Convert specs to RSpec 2.99.0 syntax with Transpec

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

* 1034 conversions
    from: it { should ... }
      to: it { is_expected.to ... }

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

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

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

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

* 111 conversions
    from: it { should_not ... }
      to: it { is_expected.not_to ... }

* 107 conversions
    from: its([:key]) { }
      to: describe '[:key]' do subject { super()[:key] }; it { } end

* 33 conversions
    from: be_false
      to: be_falsey

* 23 conversions
    from: be_true
      to: be_truthy

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

* 20 conversions
    from: it { should have_at_least(n).errors_on(...) }
      to: it 'has at least n errors_on' do expect(subject.errors_on(...).size).to be >= n end

* 19 conversions
    from: describe 'some controller' { }
      to: describe 'some controller', :type => :controller { }

* 14 conversions
    from: describe 'some view' { }
      to: describe 'some view', :type => :view { }

* 14 conversions
    from: it { should have(n).entries }
      to: it 'has n entries' do expect(subject.entries.size).to eq(n) end

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

* 11 conversions
    from: it { should have(n).items }
      to: it 'has n items' do expect(subject.size).to eq(n) end

* 11 conversions
    from: obj.should have(n).entries
      to: expect(obj.entries.size).to eq(n)

* 10 conversions
    from: =~ /pattern/
      to: match(/pattern/)

* 8 conversions
    from: describe 'some model' { }
      to: describe 'some model', :type => :model { }

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

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

* 6 conversions
    from: describe 'some helper' { }
      to: describe 'some helper', :type => :helper { }

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

* 5 conversions
    from: it { should have(n).items }
      to: it 'has n records' do expect(subject.size).to eq(n) end

* 5 conversions
    from: it { should have_at_least(n).items }
      to: it 'has at least n errors' do expect(subject.size).to be >= n end

* 4 conversions
    from: it { should have(n).items }
      to: it 'has n item' do expect(subject.size).to eq(n) end

* 3 conversions
    from: it { should have(n).items }
      to: it 'has n tag' do expect(subject.size).to eq(n) end

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

* 1 conversion
    from: < expected
      to: be < expected

* 1 conversion
    from: collection.should have(n).items
      to: expect(collection.size).to eq(n)

* 1 conversion
    from: it { should have(n).characters }
      to: it 'has n characters' do expect(subject.characters.size).to eq(n) end

* 1 conversion
    from: it { should have(n).errors }
      to: it 'has n errors' do expect(subject.errors.size).to eq(n) end

* 1 conversion
    from: it { should have(n).items }
      to: it 'has n tagging' do expect(subject.size).to eq(n) end

For more details: https://github.com/yujinakayama/transpec#supported-conversions
Fix spec errors which occurs by transpec
Add some spec configuration to support RSpec3

config.infer_spec_type_from_file_location!
config.expose_current_running_example_as :example
Replace failure_message_for_should and failure_message_for_should_not

For getting rid of the warning when supporting RSpec3
Support Rspec3
Add 'gem "minitest"' for JRuby