This conversion is done by Transpec 2.2.5 with the following command:
transpec
* 34 conversions
from: obj.should
to: expect(obj).to
* 27 conversions
from: obj.should_receive(:message)
to: expect(obj).to receive(:message)
* 18 conversions
from: == expected
to: eq(expected)
* 4 conversions
from: obj.should_not
to: expect(obj).not_to
* 4 conversions
from: obj.stub(:message)
to: allow(obj).to receive(:message)
For more details: https://github.com/yujinakayama/transpec#supported-conversions
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| rails_2.3_with_bundler | Loading commit data... | |
| rails_3.2.2 | Loading commit data... | |
| rails_3.2.8 | Loading commit data... | |
| rails_3.2_autoloading_factory_girl | Loading commit data... | |
| rails_3.2_custom_inflections | Loading commit data... | |
| rails_3.2_with_asset_pipeline | Loading commit data... | |
| rails_4.1.1 | Loading commit data... | |
| standalone | Loading commit data... | |
| common_validation.rb | Loading commit data... | |
| integration_spec.rb | Loading commit data... | |
| rails_2.3_with_bundler.rb | Loading commit data... | |
| rails_3.2.2.rb | Loading commit data... | |
| rails_3.2.8.rb | Loading commit data... | |
| rails_3.2_autoloading_factory_girl.rb | Loading commit data... | |
| rails_3.2_custom_inflections.rb | Loading commit data... | |
| rails_3.2_with_asset_pipeline.rb | Loading commit data... | |
| standalone.rb | Loading commit data... |