From c258247f5c72af4f2c9f7e88cac0823b0de21169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Verg=C3=A9s?= Date: Thu, 9 Nov 2023 15:11:51 +0100 Subject: [PATCH] fix spec --- .github/workflows/tests.yml | 4 ++-- spec/models/proposal_extra_field_spec.rb | 2 +- spec/system/{ => awesome_map}/awesome_map_spec.rb | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename spec/system/{ => awesome_map}/awesome_map_spec.rb (100%) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 89fcbac41..a325ed8a9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,9 +25,9 @@ jobs: features: enabled - rspec: system/admin features: enabled - - rspec: system/*_spec.rb --exclude-pattern 'spec/system/awesome_map_spec.rb' + - rspec: system/*_spec.rb' features: enabled - - rspec: system/awesome_map_spec.rb + - rspec: system/awesome_map features: enabled fail-fast: false diff --git a/spec/models/proposal_extra_field_spec.rb b/spec/models/proposal_extra_field_spec.rb index 632bc0156..5a1266b32 100644 --- a/spec/models/proposal_extra_field_spec.rb +++ b/spec/models/proposal_extra_field_spec.rb @@ -198,7 +198,7 @@ module Decidim::DecidimAwesome before do # rubocop:disable Rails/SkipsModelValidations: # we don't want to trigger the active record hooks - extra_fields.update_columns(totals: { "3" => 1, "4" => 1 }) + extra_fields.update_columns(vote_weight_totals: { "3" => 1, "4" => 1 }) # rubocop:enable Rails/SkipsModelValidations: end diff --git a/spec/system/awesome_map_spec.rb b/spec/system/awesome_map/awesome_map_spec.rb similarity index 100% rename from spec/system/awesome_map_spec.rb rename to spec/system/awesome_map/awesome_map_spec.rb