spec/lib/xcal/parktronic/routes/nested/alarm_actions_spec.rb in xcal-parktronic-1.0.0 vs spec/lib/xcal/parktronic/routes/nested/alarm_actions_spec.rb in xcal-parktronic-1.0.1
- old
+ new
@@ -4,9 +4,10 @@
let(:api_http_client){ Xcal::Parktronic::ApiClient.new(endpoint: 'http://api.mock', access_token: 'access_token') }
let(:api_invalid_client){ Xcal::Parktronic::ApiClient.new(endpoint: 'http://api.mock') }
context 'alarms route' do
+
describe '#get_alarm_actions' do
it 'should return alarm_actions for alarm' do
expect{ api_http_client.get_alarm(2).get_alarm_actions}.not_to raise_error
expect{ api_http_client.get_alarm(22).get_alarm_actions}.not_to raise_error
end
\ No newline at end of file