test/test_processes.rb in heroku-api-0.1.7 vs test/test_processes.rb in heroku-api-0.1.8
- old
+ new
@@ -1,6 +1,6 @@
-require "#{File.dirname(__FILE__)}/test_helper"
+require File.expand_path("#{File.dirname(__FILE__)}/test_helper")
class TestProcesses < MiniTest::Unit::TestCase
def test_get_ps
with_app do |app_data|
@@ -69,10 +69,10 @@
refute_nil(ps['rendezvous_url'])
assert_equal('NONE', ps['slug'])
# depending on timing it will be one of these two states
assert_includes(['created', 'starting'], ps['state'])
# transitioned_at
- assert_equal('Ps', ps['type'])
+ assert_equal(nil, ps['type'])
# upid
end
end
def test_post_ps_app_not_found