spec/filmbuff/title_spec.rb in filmbuff-0.1.2 vs spec/filmbuff/title_spec.rb in filmbuff-0.1.5

- old
+ new

@@ -20,17 +20,17 @@ @title.tagline.should == "\"The Wizard\" Musical Returns By " << "Unprecedented Demand! [UK re-release]" end it "has a plot" do - @title.plot.should == "Dorothy Gale is swept away to a magical land in " << - "a tornado and embarks on a quest to see the Wizard who can help her " << + @title.plot.should == "Dorothy Gale is swept away to a magical land in" << + " a tornado and embarks on a quest to see the Wizard who can help her " << "return home." end it "has a runtime" do - @title.runtime.should == "101 min" + @title.runtime.should == 6060 end it "has a rating" do @title.rating.should be_a(Float) end @@ -42,10 +42,10 @@ it "has a poster URL" do @title.poster_url.should match /http:\/\/ia.media-imdb.com\/images\/.*/ end it "has genres" do - @title.genres.should == %w[ Adventure Comedy Family Fantasy Musical] + @title.genres.should == %w[ Adventure Comedy Family Fantasy Musical ] end it "has a release date" do @title.release_date.should == DateTime.parse("1939-08-25") end