Created
March 9, 2012 18:05
-
-
Save jlogsdon/2007804 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 MyStateMachine do | |
describe '#pending?' do | |
context 'when the state is pending' | |
context 'when the state is approved' | |
context 'when the state is rejected' | |
end | |
describe '#approved?' do | |
context 'when the state is pending' | |
context 'when the state is approved' | |
context 'when the state is rejected' | |
end | |
describe '#rejected?' do | |
context 'when the state is pending' | |
context 'when the state is approved' | |
context 'when the state is rejected' | |
end | |
end |
This file contains hidden or 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 MyStateMachine do | |
context 'when the state is pending' do | |
describe '#pending?' | |
describe '#approved?' | |
describe '#rejected?' | |
end | |
context 'when the state is approved' do | |
describe '#pending?' | |
describe '#approved?' | |
describe '#rejected?' | |
end | |
context 'when the state is rejected' do | |
describe '#pending?' | |
describe '#approved?' | |
describe '#rejected?' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment