features/steps/default_config.rb in hyperclient-1.0.1 vs features/steps/default_config.rb in hyperclient-2.0.0

- 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 4 - @posts._attributes['total_posts'].to_i.must_equal 4 + assert_equal 4, @posts._attributes.total_posts.to_i + assert_equal 4, @posts._attributes['total_posts'].to_i end end