tests/rackspace/requests/monitoring/notification_tests.rb in fog-1.22.0 vs tests/rackspace/requests/monitoring/notification_tests.rb in fog-1.22.1
- old
+ new
@@ -3,10 +3,10 @@
notification_id = nil
tests('success') do
tests('#create new notification').formats(DATA_FORMAT) do
pending if Fog.mocking?
response = account.create_notification(:label => "Foo", :type => "email", :details => {:address => "test@test.com"}).data
-
+
notification_id = response[:headers]["X-Object-ID"]
response
end
tests('#get notification').formats(LIST_HEADERS_FORMAT) do
account.get_notification(notification_id).data[:headers]