test/unit/tmdb_movie_test.rb in ruby-tmdb-0.1.2 vs test/unit/tmdb_movie_test.rb in ruby-tmdb-0.1.3

- old
+ new

@@ -4,9 +4,14 @@ def setup register_api_url_stubs end + test "search that returns no results should create empty array" do + movie = TmdbMovie.find(:title => "item_not_found") + assert_equal [], movie + end + test "movie should be able to be dumped and re-loaded" do assert_nothing_raised do movie = TmdbMovie.find(:id => 187) TmdbMovie.new(movie.raw_data) end \ No newline at end of file