imdb 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,7 +75,7 @@ describe "Imdb::Movie" do
75
75
 
76
76
  movie.director.should be_an(Array)
77
77
  movie.director.size.should eql(2)
78
- movie.director.should include("Larry Wachowski")
78
+ movie.director.should include("Lana Wachowski")
79
79
  movie.director.should include("Andy Wachowski")
80
80
  end
81
81
  end
@@ -98,6 +98,11 @@ describe "Imdb::Movie" do
98
98
  movie = Imdb::Movie.new("0083987")
99
99
  movie.plot.should eql("Biography of Mahatma Gandhi, the lawyer who became the famed leader of the Indian revolts against the British through his philosophy of non-violent protest.")
100
100
  end
101
+
102
+ it "should not have a 'more' link in the plot" do
103
+ movie = Imdb::Movie.new("0036855")
104
+ movie.plot.should eql("Paula's aunt Alice Alquist, a famous entertainer, is murdered in her home. Paula, who lives with her aunt finds the body...")
105
+ end
101
106
  end
102
107
 
103
108
  describe "with no submitted poster" do
@@ -35,7 +35,8 @@ IMDB_SAMPLES = {
35
35
  "http://www.imdb.com:80/chart/top" => "top_250",
36
36
  "http://www.imdb.com/title/tt0111161/" => "tt0111161",
37
37
  "http://www.imdb.com/title/tt1352369/" => "tt1352369",
38
- "http://www.imdb.com/title/tt0083987/" => "tt0083987"
38
+ "http://www.imdb.com/title/tt0083987/" => "tt0083987",
39
+ "http://www.imdb.com/title/tt0036855/" => "tt0036855"
39
40
  }
40
41
 
41
42
  unless ENV['LIVE_TEST']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariejan de Vroom
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-11 00:00:00 +01:00
12
+ date: 2010-01-25 00:00:00 +01:00
13
13
  default_executable: imdb
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -84,6 +84,7 @@ files:
84
84
  - spec/fixtures/search_matrix_revolutions
85
85
  - spec/fixtures/search_star_trek
86
86
  - spec/fixtures/top_250
87
+ - spec/fixtures/tt0036855
87
88
  - spec/fixtures/tt0083987
88
89
  - spec/fixtures/tt0095016
89
90
  - spec/fixtures/tt0111161