diff options
Diffstat (limited to 'spec/serializers/service_event_entity_spec.rb')
-rw-r--r-- | spec/serializers/service_event_entity_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/serializers/service_event_entity_spec.rb b/spec/serializers/service_event_entity_spec.rb index 91254c7dd27..f610c8f1488 100644 --- a/spec/serializers/service_event_entity_spec.rb +++ b/spec/serializers/service_event_entity_spec.rb @@ -12,7 +12,7 @@ RSpec.describe ServiceEventEntity do end describe '#as_json' do - context 'service without fields' do + context 'integration without fields' do let(:integration) { create(:emails_on_push_integration, push_events: true) } let(:event) { 'push' } @@ -24,8 +24,8 @@ RSpec.describe ServiceEventEntity do end end - context 'service with fields' do - let(:integration) { create(:slack_service, note_events: false, note_channel: 'note-channel') } + context 'integration with fields' do + let(:integration) { create(:integrations_slack, note_events: false, note_channel: 'note-channel') } let(:event) { 'note' } it 'exposes correct attributes' do |