Created
May 12, 2009 16:56
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
context "a movie shelf" do | |
setup { @shelf = MovieShelf.new } | |
should "show how many movies are stored" do | |
juno = Movie.new("Juno") | |
transformers = Movie.new("Transformers") | |
shelf.store juno | |
shelf.store transformers | |
assert_equal 2, shelf.movies_count | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment