features/steps/default_config.rb in hyperclient-0.7.1 vs features/steps/default_config.rb in hyperclient-0.7.2

- old
+ new

@@ -23,9 +23,9 @@ step 'I get some data from the API' do @posts = api._links.posts end step 'it should have been parsed as JSON' do - @posts._attributes.total_posts.to_i.must_equal 9 - @posts._attributes['total_posts'].to_i.must_equal 9 + @posts._attributes.total_posts.to_i.must_equal 2 + @posts._attributes['total_posts'].to_i.must_equal 2 end end