Guest User

Untitled

a guest
Apr 26th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. describe Stack do
  2. describe 'when initialized' do
  3. it 'should be empty'
  4. end
  5.  
  6. describe 'when empty' do
  7. describe 'and an element is pushed' do
  8. it 'should not be empty'
  9. it 'should have a size of 1'
  10. end
  11. describe 'and popping an element' do
  12. it 'should fail'
  13. end
  14. end
  15.  
  16. describe 'with an element' do
  17. describe 'and popping an element' do
  18. it 'should return the element'
  19. it 'should be empty'
  20. end
  21. end
  22. end
Add Comment
Please, Sign In to add comment