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.1 syntax with Transpec
This conversion is done by Transpec 2.3.6 with the following command: transpec -b true,false * 406 conversions from: obj.should to: expect(obj).to * 245 conversions from: == expected to: eq(expected) * 38 conversions from: be_true to: be true * 34 conversions from: be_false to: be false * 31 conversions from: obj.should_not to: expect(obj).not_to * 11 conversions from: obj.stub(:message) to: allow(obj).to receive(:message) * 9 conversions from: lambda { }.should to: expect { }.to * 4 conversions from: lambda { }.should_not to: expect { }.not_to * 2 conversions from: pending to: skip * 1 conversion from: =~ /pattern/ to: match(/pattern/) * 1 conversion from: =~ [1, 2] to: match_array([1, 2]) * 1 conversion from: before { example } to: before { |example| example } * 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
- Loading branch information