From d8a9b27ab3f198ec984085c723d81aa27d7daf9b Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Thu, 6 Jun 2019 15:48:02 +0200 Subject: [PATCH] Add test type to all interactor tests --- .../add_group_stage_to_tournament_interactor_spec.rb | 2 +- spec/interactors/add_playoffs_to_tournament_interactor_spec.rb | 2 +- spec/interactors/populate_match_below_interactor_spec.rb | 2 +- ...ave_application_record_object_to_database_interactor_spec.rb | 2 +- spec/interactors/update_groups_group_scores_interactor_spec.rb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/interactors/add_group_stage_to_tournament_interactor_spec.rb b/spec/interactors/add_group_stage_to_tournament_interactor_spec.rb index 6e009df..6df62e5 100644 --- a/spec/interactors/add_group_stage_to_tournament_interactor_spec.rb +++ b/spec/interactors/add_group_stage_to_tournament_interactor_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe AddGroupStageToTournament do +RSpec.describe AddGroupStageToTournament, type: :interactor do let(:empty_tournament_context) do AddGroupStageToTournament.call(tournament: @empty_tournament, groups: @groups) end diff --git a/spec/interactors/add_playoffs_to_tournament_interactor_spec.rb b/spec/interactors/add_playoffs_to_tournament_interactor_spec.rb index ca60cf9..0ee2cbc 100644 --- a/spec/interactors/add_playoffs_to_tournament_interactor_spec.rb +++ b/spec/interactors/add_playoffs_to_tournament_interactor_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe AddPlayoffsToTournament do +RSpec.describe AddPlayoffsToTournament, type: :interactor do let(:group_stage_tournament_context) do AddPlayoffsToTournament.call(tournament: @group_stage_tournament) end diff --git a/spec/interactors/populate_match_below_interactor_spec.rb b/spec/interactors/populate_match_below_interactor_spec.rb index 8b751e0..6f87038 100644 --- a/spec/interactors/populate_match_below_interactor_spec.rb +++ b/spec/interactors/populate_match_below_interactor_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe PopulateMatchBelow do +RSpec.describe PopulateMatchBelow, type: :interactor do before do @match = create(:match) @objects_to_save = [create(:match), create_list(:match_score, 2)] diff --git a/spec/interactors/save_application_record_object_to_database_interactor_spec.rb b/spec/interactors/save_application_record_object_to_database_interactor_spec.rb index ce2edb3..46f6d72 100644 --- a/spec/interactors/save_application_record_object_to_database_interactor_spec.rb +++ b/spec/interactors/save_application_record_object_to_database_interactor_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe SaveApplicationRecordObject do +RSpec.describe SaveApplicationRecordObject, type: :interactor do before do @tournament = create(:tournament) end diff --git a/spec/interactors/update_groups_group_scores_interactor_spec.rb b/spec/interactors/update_groups_group_scores_interactor_spec.rb index 83d1068..6db8ba9 100644 --- a/spec/interactors/update_groups_group_scores_interactor_spec.rb +++ b/spec/interactors/update_groups_group_scores_interactor_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe UpdateGroupsGroupScores do +RSpec.describe UpdateGroupsGroupScores, type: :interactor do before do @group = create(:group) @group_scores = create_list(:group_score, 2)