forked from mikel/mail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert specs to RSpec 2.99.2 syntax with Transpec
This conversion is done by Transpec 3.3.0 with the following command: transpec --force --convert stub_with_hash * 2161 conversions from: obj.should to: expect(obj).to * 173 conversions from: obj.should_not to: expect(obj).not_to * 56 conversions from: obj.should_receive(:message) to: expect(obj).to receive(:message) * 32 conversions from: == expected to: eq(expected) * 26 conversions from: =~ /pattern/ to: match(/pattern/) * 21 conversions from: pending to: skip * 20 conversions from: be_true to: be_truthy * 15 conversions from: it { should ... } to: it { is_expected.to ... } * 15 conversions from: lambda { }.should to: expect { }.to * 12 conversions from: it { should_not ... } to: it { is_expected.not_to ... } * 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) * 7 conversions from: < expected to: be < expected * 6 conversions from: be_false to: be_falsey * 5 conversions from: expect { }.not_to raise_error(SpecificErrorClass) to: expect { }.not_to raise_error * 2 conversions from: collection.should have(n).items to: expect(collection.size).to eq(n) * 2 conversions from: mock('something') to: double('something') * 1 conversion from: === expected to: be === expected * 1 conversion from: lambda { }.should_not to: expect { }.not_to * 1 conversion from: obj.stub!(:message => value) to: allow(obj).to receive(:message).and_return(value) For more details: https://github.com/yujinakayama/transpec#supported-conversions
- Loading branch information
1 parent
8b04e1d
commit 74f5eee
Showing
80 changed files
with
2,490 additions
and
2,490 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.