tomato_power 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +22 -13
  3. data/lib/tomato_power/api/api.rb +30 -66
  4. data/lib/tomato_power/api/api_service.rb +115 -0
  5. data/lib/tomato_power/api/tomato_methods.rb +17 -16
  6. data/lib/tomato_power/client.rb +13 -0
  7. data/lib/tomato_power/helpers/helpers.rb +2 -0
  8. data/lib/tomato_power/helpers/parsers.rb +26 -1
  9. data/lib/tomato_power/movie/actor.rb +1 -0
  10. data/lib/tomato_power/movie/clip.rb +1 -0
  11. data/lib/tomato_power/movie/movie.rb +20 -6
  12. data/lib/tomato_power/movie/poster.rb +14 -0
  13. data/lib/tomato_power/movie/review.rb +1 -0
  14. data/lib/tomato_power/version.rb +1 -1
  15. data/lib/tomato_power.rb +7 -0
  16. data/spec/spec_helper.rb +1 -1
  17. data/spec/support/sample_data/sample_posters +6 -0
  18. data/spec/unit_specs/api/api_services_spec.rb +39 -0
  19. data/spec/unit_specs/{api_spec.rb → api/api_spec.rb} +3 -27
  20. data/spec/unit_specs/helpers/helpers.rb +53 -0
  21. data/spec/unit_specs/{parsers_spec.rb → helpers/parsers_spec.rb} +12 -12
  22. data/spec/unit_specs/helpers_spec.rb +0 -2
  23. data/spec/unit_specs/{actor_spec.rb → movie/actor_spec.rb} +1 -1
  24. data/spec/unit_specs/{client_spec.rb → movie/client_spec.rb} +1 -1
  25. data/spec/unit_specs/{clip_spec.rb → movie/clip_spec.rb} +1 -1
  26. data/spec/unit_specs/{movie_spec.rb → movie/movie_spec.rb} +21 -6
  27. data/spec/unit_specs/movie/poster_spec.rb +17 -0
  28. data/spec/unit_specs/{review_spec.rb → movie/review_spec.rb} +2 -2
  29. metadata +26 -74
  30. data/spec/support/vcr/TomatoPower_API/API_Methods/valid_methods/should_create_methods.yml +0 -598
  31. data/spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_consider_0_options_valid.yml +0 -306
  32. data/spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_not_raise_error.yml +0 -101
  33. data/spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_return_a_list_of_movie_objects.yml +0 -101
  34. data/spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_url_encode_search_string_before_sending.yml +0 -102
  35. data/spec/support/vcr/TomatoPower_API/List_request/should_return_a_list_of_movie_objects.yml +0 -101
  36. data/spec/support/vcr/TomatoPower_API/List_request/should_url_encode_search_string_before_sending.yml +0 -102
  37. data/spec/support/vcr/TomatoPower_API/Movie_request/cast/should_return_cast_of_movie.yml +0 -356
  38. data/spec/support/vcr/TomatoPower_API/Movie_request/clips/should_return_clips_of_movie.yml +0 -638
  39. data/spec/support/vcr/TomatoPower_API/Movie_request/no_results/should_return_error_string_if_no_results_are_found.yml +0 -49
  40. data/spec/support/vcr/TomatoPower_API/Movie_request/reviews/should_return_reviews.yml +0 -271
  41. data/spec/support/vcr/TomatoPower_API/Movie_request/should_return_single_movie.yml +0 -161
  42. data/spec/support/vcr/TomatoPower_API/Movie_request/similar/should_return_similar_movies.yml +0 -121
  43. data/spec/support/vcr/TomatoPower_Client/box_office_movies/should_return_list_of_movies.yml +0 -396
  44. data/spec/support/vcr/TomatoPower_Client/current_release_dvds/should_return_list_of_movies.yml +0 -427
  45. data/spec/support/vcr/TomatoPower_Client/in_theaters_movies/should_return_list_of_movies.yml +0 -380
  46. data/spec/support/vcr/TomatoPower_Client/new_release_dvds/should_return_list_of_movies.yml +0 -392
  47. data/spec/support/vcr/TomatoPower_Client/opening_movies/should_return_list_of_movies.yml +0 -213
  48. data/spec/support/vcr/TomatoPower_Client/search_by_id/should_return_list_of_movies_by_id.yml +0 -88
  49. data/spec/support/vcr/TomatoPower_Client/search_by_title/should_return_list_of_movies_by_title.yml +0 -89
  50. data/spec/support/vcr/TomatoPower_Client/top_rentals/should_return_list_of_movies.yml +0 -409
  51. data/spec/support/vcr/TomatoPower_Client/upcoming_dvds/should_return_list_of_movies.yml +0 -359
  52. data/spec/support/vcr/TomatoPower_Client/upcoming_movies/should_return_list_of_movies.yml +0 -341
  53. data/spec/support/vcr/TomatoPower_Movie/clips/should_return_clips.yml +0 -250
  54. data/spec/support/vcr/TomatoPower_Movie/full_cast/should_return_cast.yml +0 -279
  55. data/spec/support/vcr/TomatoPower_Movie/reviews/should_return_reviews.yml +0 -205
  56. data/spec/support/vcr/TomatoPower_Movie/similar/should_return_similar_movies.yml +0 -231
  57. data/spec/support/vcr/TomatoPower_Movie/similar/should_return_similars.yml +0 -81
  58. data/spec/unit_specs/helpers.rb +0 -50
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  module TomatoPower
4
- describe TomatoPower::API , :vcr => {:record => :new_episodes} do
4
+ describe API , :vcr => {:record => :new_episodes} do
5
5
  before do
6
6
  @api = TomatoPower::API.new TestHelpers::api_key
7
7
  end
@@ -37,43 +37,19 @@ module TomatoPower
37
37
  end
38
38
  end
39
39
 
40
- describe "API options validation" do
41
-
42
- describe "valid options" do
43
-
44
- it "should not raise error" do
45
- expect {@api.movies_search({:q => "jack",:page => 1,
46
- :page_limit => 2})}.not_to raise_error
47
- end
48
-
49
- it "should consider 0 options valid" do
50
- expect {@api.box_office_movies}.not_to raise_error
51
- expect {@api.movies_search}.not_to raise_error
52
- end
53
-
54
- end
55
-
56
- describe "invalid options" do
57
- it "should raise error" do
58
- expect {@api.movies_search({:invalid => "jack",:invalid => 1,
59
- :invalid => 2})}.to raise_error
60
- end
61
- end
62
- end
63
-
64
40
  describe "List request" do
65
41
 
66
42
  describe "searching by title" do
67
43
  it "should return a list of movie objects" do
68
44
  movies = @api.movies_search({:q => "jack", :page_limit => 2})
69
45
  movies.should be_kind_of(Array)
70
- movies[0].should be_kind_of(TomatoPower::Movie)
46
+ movies[0].should be_kind_of(Movie)
71
47
  end
72
48
 
73
49
  it "should url encode search string before sending" do
74
50
  movies = @api.movies_search({:q => "Mission Impossible", :page_limit => 2})
75
51
  movies.should be_kind_of(Array)
76
- movies[0].should be_kind_of(TomatoPower::Movie)
52
+ movies[0].should be_kind_of(Movie)
77
53
  end
78
54
  end
79
55
  end
@@ -0,0 +1,53 @@
1
+ module TestHelpers
2
+ String.class_eval do
3
+ def is_valid_url?
4
+ uri = URI.parse self
5
+ uri.kind_of? URI::HTTP
6
+ rescue URI::InvalidURIError
7
+ false
8
+ end
9
+ end
10
+
11
+ def self.api_key
12
+ begin
13
+ api_key = ENV.fetch("ROTTEN_TOMATOES_API_KEY")
14
+ rescue
15
+ api_key_file = File.join(File.expand_path(File.dirname(__FILE__)),
16
+ '../../config', 'tomato_power_config.yaml')
17
+ raise "tomato_power_config not found" unless File.exists?(api_key_file)
18
+ ENV["ROTTEN_TOMATOES_API_KEY"] =
19
+ YAML::load(File.open(api_key_file))["ROTTEN_TOMATOES_API_KEY"]
20
+ end
21
+ end
22
+
23
+ def self.sample sample_type
24
+ sample_data_path = "../../support/sample_data/"
25
+ case sample_type
26
+ when :movie
27
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_movie')
28
+ when :movies
29
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_movies')
30
+ when :actor
31
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_actor')
32
+ when :actors
33
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_actors')
34
+ when :clip
35
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_clip')
36
+ when :clips
37
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_clips')
38
+ when :review
39
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_review')
40
+ when :reviews
41
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_reviews')
42
+ when :poster
43
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_posters')
44
+ when :alias
45
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'sample_alias')
46
+ when :no_results
47
+ file = File.join(File.dirname(__FILE__), sample_data_path, 'no_results')
48
+ else
49
+ raise ArgumentError.new("Unrecognized type: #{type}")
50
+ end
51
+ JSON.parse(File.open(file).read)
52
+ end
53
+ end
@@ -3,7 +3,7 @@ require 'json'
3
3
 
4
4
  module TomatoPower
5
5
  module Parser
6
- describe TomatoPower::Parser do
6
+ describe Parser do
7
7
  describe "parse" do
8
8
  before do
9
9
  @movies = TestHelpers::sample :movies
@@ -15,37 +15,37 @@ module TomatoPower
15
15
  end
16
16
  describe "movies" do
17
17
  it "should return correct payload" do
18
- payload = TomatoPower::Parser::parse @movies
19
- payload.first.should be_kind_of(TomatoPower::Movie)
18
+ payload = Parser::parse @movies
19
+ payload.first.should be_kind_of(Movie)
20
20
  end
21
21
  end
22
22
  describe "actors" do
23
23
  it "should return correct payload" do
24
- payload = TomatoPower::Parser::parse @actors
25
- payload.first.should be_kind_of(TomatoPower::Actor)
24
+ payload = Parser::parse @actors
25
+ payload.first.should be_kind_of(Actor)
26
26
  end
27
27
  end
28
28
  describe "clips" do
29
29
  it "should return correct payload" do
30
- payload = TomatoPower::Parser::parse @clips
31
- payload.first.should be_kind_of(TomatoPower::Clip)
30
+ payload = Parser::parse @clips
31
+ payload.first.should be_kind_of(Clip)
32
32
  end
33
33
  end
34
34
  describe "reviews" do
35
35
  it "should return correct payload" do
36
- payload = TomatoPower::Parser::parse @reviews
37
- payload.first.should be_kind_of(TomatoPower::Review)
36
+ payload = Parser::parse @reviews
37
+ payload.first.should be_kind_of(Review)
38
38
  end
39
39
  end
40
40
  describe "alias" do
41
41
  it "should return correct payload" do
42
- payload = TomatoPower::Parser::parse @alias
43
- payload.first.should be_kind_of(TomatoPower::Movie)
42
+ payload = Parser::parse @alias
43
+ payload.first.should be_kind_of(Movie)
44
44
  end
45
45
  end
46
46
  describe "No results" do
47
47
  it "should return payload with no results string" do
48
- payload = TomatoPower::Parser::parse @no_results
48
+ payload = Parser::parse @no_results
49
49
  payload.first.include?("No Results").should be_true
50
50
  end
51
51
  end
@@ -1,4 +1,2 @@
1
- require_relative 'helpers'
2
-
3
1
  describe "Helpers" do
4
2
  end
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
  require 'json'
3
3
 
4
4
  module TomatoPower
5
- describe TomatoPower::Actor do
5
+ describe Actor do
6
6
  before do
7
7
  actor = Actor.new TestHelpers::sample :actor
8
8
  subject { actor }
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  module TomatoPower
4
- describe TomatoPower::Client, :vcr => {:record => :new_episodes} do
4
+ describe Client, :vcr => {:record => :new_episodes} do
5
5
  before do
6
6
  @client = TomatoPower.new TestHelpers::api_key
7
7
  end
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  module TomatoPower
4
- describe TomatoPower::Clip do
4
+ describe Clip do
5
5
  before do
6
6
  @clip = Clip.new TestHelpers::sample :clip
7
7
  end
@@ -2,9 +2,9 @@ require 'spec_helper'
2
2
  require 'json'
3
3
 
4
4
  module TomatoPower
5
- describe TomatoPower::Movie, :vcr => { :record => :new_episodes} do
5
+ describe Movie, :vcr => { :record => :new_episodes} do
6
6
  before do
7
- TomatoPower::api = TomatoPower::API.new TestHelpers::api_key
7
+ TomatoPower::api = API.new TestHelpers::api_key
8
8
  @movie = Movie.new TestHelpers::sample :movie
9
9
  subject { @movie }
10
10
  end
@@ -12,14 +12,12 @@ module TomatoPower
12
12
  describe "attributes" do
13
13
  it { should respond_to(:id)}
14
14
  it { should respond_to(:info)}
15
- it { should respond_to(:abridged_cast)}
16
15
  it { should respond_to(:title)}
17
16
  it { should respond_to(:ratings)}
18
17
  it { should respond_to(:mpaa_rating)}
19
18
  it { should respond_to(:runtime)}
20
19
  it { should respond_to(:release_dates)}
21
20
  it { should respond_to(:synopsis)}
22
- it { should respond_to(:posters)}
23
21
  it { should respond_to(:alternate_ids)}
24
22
  it { should respond_to(:links)}
25
23
  it { should respond_to(:abridged_directors)}
@@ -34,6 +32,7 @@ module TomatoPower
34
32
  end
35
33
  end
36
34
  end
35
+
37
36
  describe "invalid methods" do
38
37
  it "should not respond" do
39
38
  invalid_api_methods = [:invalid_method, :invalid_clips, :invalid_reviews]
@@ -42,6 +41,15 @@ module TomatoPower
42
41
  end
43
42
  end
44
43
  end
44
+
45
+ describe "cast" do
46
+ it "should return abridged_cast" do
47
+ cast = @movie.cast
48
+ cast.should be_kind_of(Array)
49
+ cast[0].should be_kind_of(Actor)
50
+ end
51
+ end
52
+
45
53
  describe "full_cast" do
46
54
  it "should return cast" do
47
55
  cast = @movie.full_cast
@@ -49,6 +57,13 @@ module TomatoPower
49
57
  cast[0].should be_kind_of(Actor)
50
58
  end
51
59
  end
60
+
61
+ describe "posters" do
62
+ it "should return posters" do
63
+ @movie.posters.should be_kind_of(Poster)
64
+ end
65
+ end
66
+
52
67
  describe "clips" do
53
68
  it "should return clips" do
54
69
  clips = @movie.clips
@@ -58,8 +73,8 @@ module TomatoPower
58
73
  end
59
74
  describe "reviews" do
60
75
  it "should return reviews" do
61
- reviews = @movie.reviews({:review_type => "all", :page => 1,
62
- :country => 'us'})
76
+ options = {:review_type => "all", :page => 1,:country => 'us'}
77
+ reviews = @movie.reviews(options)
63
78
  reviews.should be_kind_of(Array)
64
79
  reviews[0].should be_kind_of(Review)
65
80
  end
@@ -0,0 +1,17 @@
1
+ require 'spec_helper'
2
+
3
+ module TomatoPower
4
+ describe Poster do
5
+ before do
6
+ @poster = Poster.new TestHelpers::sample :poster
7
+ subject { @poster }
8
+ end
9
+
10
+ describe "Attributes" do
11
+ it { should respond_to(:thumbnail)}
12
+ it { should respond_to(:profile)}
13
+ it { should respond_to(:detailed)}
14
+ it { should respond_to(:original)}
15
+ end
16
+ end
17
+ end
@@ -1,9 +1,9 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  module TomatoPower
4
- describe TomatoPower::Review do
4
+ describe Review do
5
5
  before do
6
- @review = TomatoPower::Review.new TestHelpers::sample :review
6
+ @review = Review.new TestHelpers::sample :review
7
7
  end
8
8
  describe "attributes" do
9
9
  it { should respond_to(:critic)}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomato_power
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-21 00:00:00.000000000 Z
12
+ date: 2013-02-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: active_support
@@ -157,6 +157,7 @@ files:
157
157
  - Rakefile
158
158
  - lib/tomato_power.rb
159
159
  - lib/tomato_power/api/api.rb
160
+ - lib/tomato_power/api/api_service.rb
160
161
  - lib/tomato_power/api/tomato_methods.rb
161
162
  - lib/tomato_power/client.rb
162
163
  - lib/tomato_power/helpers/helpers.rb
@@ -164,6 +165,7 @@ files:
164
165
  - lib/tomato_power/movie/actor.rb
165
166
  - lib/tomato_power/movie/clip.rb
166
167
  - lib/tomato_power/movie/movie.rb
168
+ - lib/tomato_power/movie/poster.rb
167
169
  - lib/tomato_power/movie/review.rb
168
170
  - lib/tomato_power/version.rb
169
171
  - spec/spec_helper.rb
@@ -175,46 +177,21 @@ files:
175
177
  - spec/support/sample_data/sample_clips
176
178
  - spec/support/sample_data/sample_movie
177
179
  - spec/support/sample_data/sample_movies
180
+ - spec/support/sample_data/sample_posters
178
181
  - spec/support/sample_data/sample_review
179
182
  - spec/support/sample_data/sample_reviews
180
183
  - spec/support/vcr.rb
181
- - spec/support/vcr/TomatoPower_API/API_Methods/valid_methods/should_create_methods.yml
182
- - spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_consider_0_options_valid.yml
183
- - spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_not_raise_error.yml
184
- - spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_return_a_list_of_movie_objects.yml
185
- - spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_url_encode_search_string_before_sending.yml
186
- - spec/support/vcr/TomatoPower_API/List_request/should_return_a_list_of_movie_objects.yml
187
- - spec/support/vcr/TomatoPower_API/List_request/should_url_encode_search_string_before_sending.yml
188
- - spec/support/vcr/TomatoPower_API/Movie_request/cast/should_return_cast_of_movie.yml
189
- - spec/support/vcr/TomatoPower_API/Movie_request/clips/should_return_clips_of_movie.yml
190
- - spec/support/vcr/TomatoPower_API/Movie_request/no_results/should_return_error_string_if_no_results_are_found.yml
191
- - spec/support/vcr/TomatoPower_API/Movie_request/reviews/should_return_reviews.yml
192
- - spec/support/vcr/TomatoPower_API/Movie_request/should_return_single_movie.yml
193
- - spec/support/vcr/TomatoPower_API/Movie_request/similar/should_return_similar_movies.yml
194
- - spec/support/vcr/TomatoPower_Client/box_office_movies/should_return_list_of_movies.yml
195
- - spec/support/vcr/TomatoPower_Client/current_release_dvds/should_return_list_of_movies.yml
196
- - spec/support/vcr/TomatoPower_Client/in_theaters_movies/should_return_list_of_movies.yml
197
- - spec/support/vcr/TomatoPower_Client/new_release_dvds/should_return_list_of_movies.yml
198
- - spec/support/vcr/TomatoPower_Client/opening_movies/should_return_list_of_movies.yml
199
- - spec/support/vcr/TomatoPower_Client/search_by_id/should_return_list_of_movies_by_id.yml
200
- - spec/support/vcr/TomatoPower_Client/search_by_title/should_return_list_of_movies_by_title.yml
201
- - spec/support/vcr/TomatoPower_Client/top_rentals/should_return_list_of_movies.yml
202
- - spec/support/vcr/TomatoPower_Client/upcoming_dvds/should_return_list_of_movies.yml
203
- - spec/support/vcr/TomatoPower_Client/upcoming_movies/should_return_list_of_movies.yml
204
- - spec/support/vcr/TomatoPower_Movie/clips/should_return_clips.yml
205
- - spec/support/vcr/TomatoPower_Movie/full_cast/should_return_cast.yml
206
- - spec/support/vcr/TomatoPower_Movie/reviews/should_return_reviews.yml
207
- - spec/support/vcr/TomatoPower_Movie/similar/should_return_similar_movies.yml
208
- - spec/support/vcr/TomatoPower_Movie/similar/should_return_similars.yml
209
- - spec/unit_specs/actor_spec.rb
210
- - spec/unit_specs/api_spec.rb
211
- - spec/unit_specs/client_spec.rb
212
- - spec/unit_specs/clip_spec.rb
213
- - spec/unit_specs/helpers.rb
184
+ - spec/unit_specs/api/api_services_spec.rb
185
+ - spec/unit_specs/api/api_spec.rb
186
+ - spec/unit_specs/helpers/helpers.rb
187
+ - spec/unit_specs/helpers/parsers_spec.rb
214
188
  - spec/unit_specs/helpers_spec.rb
215
- - spec/unit_specs/movie_spec.rb
216
- - spec/unit_specs/parsers_spec.rb
217
- - spec/unit_specs/review_spec.rb
189
+ - spec/unit_specs/movie/actor_spec.rb
190
+ - spec/unit_specs/movie/client_spec.rb
191
+ - spec/unit_specs/movie/clip_spec.rb
192
+ - spec/unit_specs/movie/movie_spec.rb
193
+ - spec/unit_specs/movie/poster_spec.rb
194
+ - spec/unit_specs/movie/review_spec.rb
218
195
  - spec/unit_specs/tomato_power_spec.rb
219
196
  - tomato_power.gemspec
220
197
  homepage: ''
@@ -251,45 +228,20 @@ test_files:
251
228
  - spec/support/sample_data/sample_clips
252
229
  - spec/support/sample_data/sample_movie
253
230
  - spec/support/sample_data/sample_movies
231
+ - spec/support/sample_data/sample_posters
254
232
  - spec/support/sample_data/sample_review
255
233
  - spec/support/sample_data/sample_reviews
256
234
  - spec/support/vcr.rb
257
- - spec/support/vcr/TomatoPower_API/API_Methods/valid_methods/should_create_methods.yml
258
- - spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_consider_0_options_valid.yml
259
- - spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_not_raise_error.yml
260
- - spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_return_a_list_of_movie_objects.yml
261
- - spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_url_encode_search_string_before_sending.yml
262
- - spec/support/vcr/TomatoPower_API/List_request/should_return_a_list_of_movie_objects.yml
263
- - spec/support/vcr/TomatoPower_API/List_request/should_url_encode_search_string_before_sending.yml
264
- - spec/support/vcr/TomatoPower_API/Movie_request/cast/should_return_cast_of_movie.yml
265
- - spec/support/vcr/TomatoPower_API/Movie_request/clips/should_return_clips_of_movie.yml
266
- - spec/support/vcr/TomatoPower_API/Movie_request/no_results/should_return_error_string_if_no_results_are_found.yml
267
- - spec/support/vcr/TomatoPower_API/Movie_request/reviews/should_return_reviews.yml
268
- - spec/support/vcr/TomatoPower_API/Movie_request/should_return_single_movie.yml
269
- - spec/support/vcr/TomatoPower_API/Movie_request/similar/should_return_similar_movies.yml
270
- - spec/support/vcr/TomatoPower_Client/box_office_movies/should_return_list_of_movies.yml
271
- - spec/support/vcr/TomatoPower_Client/current_release_dvds/should_return_list_of_movies.yml
272
- - spec/support/vcr/TomatoPower_Client/in_theaters_movies/should_return_list_of_movies.yml
273
- - spec/support/vcr/TomatoPower_Client/new_release_dvds/should_return_list_of_movies.yml
274
- - spec/support/vcr/TomatoPower_Client/opening_movies/should_return_list_of_movies.yml
275
- - spec/support/vcr/TomatoPower_Client/search_by_id/should_return_list_of_movies_by_id.yml
276
- - spec/support/vcr/TomatoPower_Client/search_by_title/should_return_list_of_movies_by_title.yml
277
- - spec/support/vcr/TomatoPower_Client/top_rentals/should_return_list_of_movies.yml
278
- - spec/support/vcr/TomatoPower_Client/upcoming_dvds/should_return_list_of_movies.yml
279
- - spec/support/vcr/TomatoPower_Client/upcoming_movies/should_return_list_of_movies.yml
280
- - spec/support/vcr/TomatoPower_Movie/clips/should_return_clips.yml
281
- - spec/support/vcr/TomatoPower_Movie/full_cast/should_return_cast.yml
282
- - spec/support/vcr/TomatoPower_Movie/reviews/should_return_reviews.yml
283
- - spec/support/vcr/TomatoPower_Movie/similar/should_return_similar_movies.yml
284
- - spec/support/vcr/TomatoPower_Movie/similar/should_return_similars.yml
285
- - spec/unit_specs/actor_spec.rb
286
- - spec/unit_specs/api_spec.rb
287
- - spec/unit_specs/client_spec.rb
288
- - spec/unit_specs/clip_spec.rb
289
- - spec/unit_specs/helpers.rb
235
+ - spec/unit_specs/api/api_services_spec.rb
236
+ - spec/unit_specs/api/api_spec.rb
237
+ - spec/unit_specs/helpers/helpers.rb
238
+ - spec/unit_specs/helpers/parsers_spec.rb
290
239
  - spec/unit_specs/helpers_spec.rb
291
- - spec/unit_specs/movie_spec.rb
292
- - spec/unit_specs/parsers_spec.rb
293
- - spec/unit_specs/review_spec.rb
240
+ - spec/unit_specs/movie/actor_spec.rb
241
+ - spec/unit_specs/movie/client_spec.rb
242
+ - spec/unit_specs/movie/clip_spec.rb
243
+ - spec/unit_specs/movie/movie_spec.rb
244
+ - spec/unit_specs/movie/poster_spec.rb
245
+ - spec/unit_specs/movie/review_spec.rb
294
246
  - spec/unit_specs/tomato_power_spec.rb
295
247
  has_rdoc: