From 52c4a7866ed010d8db67e5ca976d8c73d4084784 Mon Sep 17 00:00:00 2001 From: "Z.J. van de Weg" Date: Wed, 1 Mar 2017 20:34:29 +0100 Subject: Improve UX --- spec/services/groups/create_service_spec.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'spec/services/groups') diff --git a/spec/services/groups/create_service_spec.rb b/spec/services/groups/create_service_spec.rb index b11483fb407..ec89b540e6a 100644 --- a/spec/services/groups/create_service_spec.rb +++ b/spec/services/groups/create_service_spec.rb @@ -47,12 +47,6 @@ describe Groups::CreateService, '#execute', services: true do Settings.mattermost['enabled'] = true end - it 'triggers the service' do - expect_any_instance_of(Mattermost::CreateTeamService).to receive(:execute) - - subject - end - it 'create the chat team with the group' do allow_any_instance_of(Mattermost::Team).to receive(:create) .and_return({ 'name' => 'tanuki', 'id' => 'lskdjfwlekfjsdifjj' }) -- cgit v1.2.1