test/test_helper.rb in heroku-api-0.3.2 vs test/test_helper.rb in heroku-api-0.3.3
- old
+ new
@@ -6,15 +6,15 @@
require 'time'
DATA_PATH = File.expand_path("#{File.dirname(__FILE__)}/data")
MOCK = ENV['MOCK'] != 'false'
-def data_server_crt
- @data_server_crt ||= File.read(File.join(DATA_PATH, 'server.crt'))
+def data_site_crt
+ @data_site_crt ||= File.read(File.join(DATA_PATH, 'site.crt'))
end
-def data_server_key
- @data_server_key ||= File.read(File.join(DATA_PATH, 'server.key'))
+def data_site_key
+ @data_site_key ||= File.read(File.join(DATA_PATH, 'site.key'))
end
def heroku
# ENV['HEROKU_API_KEY'] used for :api_key
Heroku::API.new(:mock => MOCK)