Sha256: 276d97248e8e4006fbac640ac96e912330669acd5e3b7a00dbf623bb16ed121a

Contents?: true

Size: 349 Bytes

Versions: 12

Compression:

Stored size: 349 Bytes

Contents

require File.expand_path("#{File.dirname(__FILE__)}/test_helper")

class TestUser < Minitest::Test

  def test_get_user
    response = heroku.get_user
    data = File.read("#{File.dirname(__FILE__)}/../lib/heroku/api/mock/cache/get_user.json")

    assert_equal(200, response.status)
    assert_equal(MultiJson.load(data), response.body)
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
heroku-api-0.4.3 test/test_user.rb
heroku-api-0.4.2 test/test_user.rb
heroku-api-0.4.1 test/test_user.rb
heroku-api-0.4.0 test/test_user.rb
heroku-api-0.3.23 test/test_user.rb
heroku-api-0.3.22 test/test_user.rb
heroku-api-0.3.21 test/test_user.rb
heroku-api-0.3.20 test/test_user.rb
heroku-api-0.3.19 test/test_user.rb
heroku-api-0.3.18 test/test_user.rb
heroku-api-0.3.17 test/test_user.rb
heroku-api-0.3.16 test/test_user.rb