test/movie_test.rb in imdb_party-0.5.0 vs test/movie_test.rb in imdb_party-0.6.0
- old
+ new
@@ -43,10 +43,10 @@
assert_equal "G", @movie.certification
end
should "have trailers" do
assert_equal Hash, @movie.trailers.class
- assert_equal 4, @movie.trailers.keys.size
+ assert_equal 2, @movie.trailers.keys.size
assert_equal "http://www.totaleclips.com/Player/Bounce.aspx?eclipid=e27826&bitrateid=461&vendorid=102&type=.mp4", @movie.trailers[@movie.trailers.keys.first]
end
should "have genres" do
assert_equal Array, @movie.genres.class