Created
September 6, 2013 11:28
-
-
Save didlix/6462582 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
it 'vomits (raises an InvalidOutline) at a yaml_hash with missing paramaters' do | |
missing_outline_is_a_big_no_no_hash = | |
{ 'start_date': 'Yesterday', | |
'body': "You can't begin yesterday", | |
'title': 'The impossible outline' | |
# OMG NO OUTLINE!!! | |
} | |
expect { Outline.new(missing_outline_is_a_big_no_no_hash) }.to raise_error(Outline::InvalidOutline) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment