test/test_helper.rb in nephophobia-0.2.0 vs test/test_helper.rb in nephophobia-0.3.0
- old
+ new
@@ -35,9 +35,20 @@
}
end.merge(:host => "10.3.170.32", :project => "sandbox")
Nephophobia::Client.new client_options.merge options
end
+
+ def self.trunk_with type, options = {}
+ client_options = case type
+ when :admin ; {
+ :access_key => "2ea76797-229c-4e52-a21b-f30513cb91a6",
+ :secret_key => "3d16b391-820f-4f5c-893b-0f65d5f35312",
+ }
+ end.merge(:host => "10.3.170.35", :project => "sandbox")
+
+ Nephophobia::Client.new client_options.merge options
+ end
end
class Time
class << self
alias_method :real_now, :now