Created
June 16, 2015 07:18
-
-
Save JunichiIto/d062b53b20e86481756c to your computer and use it in GitHub Desktop.
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
describe 'Test true/truthy' do | |
context 'test 1' do | |
example do | |
expect(1).to be_truthy | |
end | |
example do | |
expect(1).to be true | |
end | |
example do | |
expect(1).to eq true | |
end | |
example do | |
expect(1).to be_true | |
end | |
end | |
context 'test true' do | |
example do | |
expect(true).to be_truthy | |
end | |
example do | |
expect(true).to be true | |
end | |
example do | |
expect(true).to eq true | |
end | |
example do | |
expect(true).to be_true | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment