Upgrade rspec to 2.99
Convert specs to RSpec 2.99.2 syntax with Transpec

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

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

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

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

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

* 18 conversions
    from: describe 'some request' { }
      to: describe 'some request', :type => :request { }

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

* 13 conversions
    from: < expected
      to: be < expected

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

* 9 conversions
    from: obj.should have(n).error_on(...)
      to: expect(obj.error_on(...).size).to eq(n)

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

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

* 6 conversions
    from: be_true
      to: be_truthy

* 5 conversions
    from: lambda { }.should
      to: expect { }.to

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

* 4 conversions
    from: be_false
      to: be_falsey

* 4 conversions
    from: obj.should have(n).errors_on(...)
      to: expect(obj.errors_on(...).size).to eq(n)

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

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

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

* 1 conversion
    from: obj.stub!(:message)
      to: allow(obj).to receive(:message)

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

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

* 5 conversions
    from: obj.stub(:message => value)
      to: allow(obj).to receive_messages(:message => value)

For more details: https://github.com/yujinakayama/transpec#supported-conversions
Upgrade capybara to 2.2.0 and add selenium-webdriver
Enable Capybara DSL in specs
Upgrade capybara to 2.4.0
mock_model extracted to rspec-activemodel-mocks
Fix condition
Upgrade database_cleaner to 1.3.0
Switch Selenium to Poltergeist for headless testing
Switch to CanCanCan, fix tests
Update Changelog.md
Fix tests
Correct syntax
Update Changelog.md
Add notes on PhantomJS
Merge branch 'rspec-3' into rails-4

Conflicts:
	Changelog.md
	Gemfile
	Gemfile.lock
	spec/spec_helper.rb