test/tmdb/test_tv.rb in tmdb-0.2.0 vs test/tmdb/test_tv.rb in tmdb-0.2.1
- old
+ new
@@ -7,10 +7,10 @@
describe ".search" do
it "should return correct results" do
shows = TMDB::TV.search(query: 'walking dead')
- shows.first['name'].must_equal "The Walking Dead"
+ shows.first.name.must_equal "The Walking Dead"
end
end
describe ".id" do
\ No newline at end of file