test/maestrano/api/resource_test.rb in maestrano-0.5.0 vs test/maestrano/api/resource_test.rb in maestrano-0.6.0
- old
+ new
@@ -56,10 +56,10 @@
end
context "when specifying per-object credentials" do
context "with no global API key set" do
setup do
- @original_api_key = Maestrano.param('api_key')
+ @original_api_key = Maestrano.param('api.key')
Maestrano.configure { |c| c.api_key = nil }
end
teardown do
Maestrano.configure { |c| c.api_key = @original_api_key }
\ No newline at end of file