forked from guard/guard
-
Notifications
You must be signed in to change notification settings - Fork 1
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 * 396 conversions from: obj.should_receive(:message) to: expect(obj).to receive(:message) * 239 conversions from: obj.should to: expect(obj).to * 113 conversions from: obj.stub(:message) to: allow(obj).to receive(:message) * 94 conversions from: obj.should_not_receive(:message) to: expect(obj).not_to receive(:message) * 86 conversions from: == expected to: eq(expected) * 16 conversions from: obj.stub(:message => value) to: allow(obj).to receive(:message).and_return(value) * 16 conversions from: stub('something') to: double('something') * 15 conversions from: be_true to: be_truthy * 15 conversions from: obj.stub!(:message) to: allow(obj).to receive(:message) * 13 conversions from: mock('something') to: double('something') * 10 conversions from: lambda { }.should_not to: expect { }.not_to * 10 conversions from: obj.should_not to: expect(obj).not_to * 7 conversions from: be_false to: be_falsey * 7 conversions from: obj.unstub(:message) to: allow(obj).to receive(:message).and_call_original * 5 conversions from: pending to: skip * 4 conversions from: lambda { }.should to: expect { }.to * 4 conversions from: obj.should_receive(:message).any_number_of_times to: allow(obj).to receive(:message) * 3 conversions from: collection.should have(n).items to: expect(collection.size).to eq(n) * 1 conversion from: RSpec.configure { |c| c.color_enabled = something } to: RSpec.configure { |c| c.color = something } * 1 conversion from: it { should ... } to: it { is_expected.to ... } * 1 conversion from: it { should_not ... } to: it { is_expected.not_to ... } For more details: https://github.com/yujinakayama/transpec#supported-conversions
- Loading branch information
1 parent
cd9aeb0
commit c756ab8
Showing
33 changed files
with
940 additions
and
940 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
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
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
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
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
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
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
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.