New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to rspec 3.0 #62
Labels
Comments
The cancan matchers are raising deprecation warnings |
cyrusstoller
added a commit
that referenced
this issue
Jul 1, 2014
cyrusstoller
added a commit
that referenced
this issue
Jul 1, 2014
cyrusstoller
added a commit
that referenced
this issue
Jul 1, 2014
cyrusstoller
added a commit
that referenced
this issue
Jul 1, 2014
This conversion is done by Transpec 2.3.1 with the following command: transpec * 161 conversions from: obj.should to: expect(obj).to * 24 conversions from: == expected to: eq(expected) * 20 conversions from: obj.should_not to: expect(obj).not_to * 12 conversions from: Klass.any_instance.stub(:message) to: allow_any_instance_of(Klass).to receive(:message) * 9 conversions from: it { should ... } to: it { is_expected.to ... } * 8 conversions from: it { should_not ... } to: it { is_expected.not_to ... } * 7 conversions from: describe 'some helper' { } to: describe 'some helper', :type => :helper { } * 6 conversions from: describe 'some controller' { } to: describe 'some controller', :type => :controller { } * 5 conversions from: Klass.any_instance.should_receive(:message) to: expect_any_instance_of(Klass).to receive(:message) * 5 conversions from: describe 'some model' { } to: describe 'some model', :type => :model { } * 5 conversions from: describe 'some routing' { } to: describe 'some routing', :type => :routing { } * 5 conversions from: obj.should_receive(:message) to: expect(obj).to receive(:message) * 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
cyrusstoller
added a commit
that referenced
this issue
Jul 1, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: