tomato_power 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,6 @@ module TomatoPower
26
26
  else
27
27
  payload << Movie.new(json)
28
28
  end
29
- payload << "" if payload.length < 1
30
29
  payload
31
30
  end
32
31
 
@@ -1,3 +1,3 @@
1
1
  module TomatoPower
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -94,7 +94,7 @@ module TomatoPower
94
94
  it "should return empty string if no results are found" do
95
95
  reviews = @api.movie_reviews({:movie_id => 1})
96
96
  reviews.should be_kind_of(Array)
97
- reviews[0].should be_empty
97
+ reviews.should be_empty
98
98
  end
99
99
  end
100
100
  end
@@ -46,7 +46,7 @@ module TomatoPower
46
46
  describe "No results" do
47
47
  it "should return payload with no results string" do
48
48
  payload = Parser::parse @no_results
49
- payload.first.should be_empty
49
+ payload.should be_empty
50
50
  end
51
51
  end
52
52
  end
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.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: