Module: Castanet::Testing::AssetPaths

Included in:
CallbackServerTasks, JasigServerTasks
Defined in:
lib/castanet/testing/asset_paths.rb

Instance Method Summary collapse

Instance Method Details

#asset_path(p) ⇒ Object



5
6
7
# File 'lib/castanet/testing/asset_paths.rb', line 5

def asset_path(p)
  File.expand_path("../../../../assets/#{p}", __FILE__)
end

#ssl_cert_pathObject



13
14
15
# File 'lib/castanet/testing/asset_paths.rb', line 13

def ssl_cert_path
  asset_path('test.crt')
end

#ssl_key_pathObject



9
10
11
# File 'lib/castanet/testing/asset_paths.rb', line 9

def ssl_key_path
  asset_path('test.key')
end