spec/profile_spec.rb in panda-1.3.0 vs spec/profile_spec.rb in panda-1.4.0
- old
+ new
@@ -4,15 +4,15 @@
before(:each) do
cloud_json = "{\"s3_videos_bucket\":\"my_bucket\",\"id\":\"my_cloud_id\"}"
stub_http_request(:get, /api.example.com:85\/v2\/clouds\/my_cloud_id.json/).
to_return(:body => cloud_json)
- Panda.configure do |c|
- c.access_key = "my_access_key"
- c.secret_key = "my_secret_key"
- c.api_host = "api.example.com"
- c.cloud_id = 'my_cloud_id'
- c.api_port = 85
+ Panda.configure do
+ access_key "my_access_key"
+ secret_key "my_secret_key"
+ api_host "api.example.com"
+ cloud_id 'my_cloud_id'
+ api_port 85
end
end
it "should create a profile" do
\ No newline at end of file