From 64ed888828476af622ce69d153690a72c9b9ecda Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Thu, 25 Apr 2024 16:22:21 +0200 Subject: [PATCH] style: update context sentences in system test --- .../spec/system/conference_registrations_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/decidim-conferences/spec/system/conference_registrations_spec.rb b/decidim-conferences/spec/system/conference_registrations_spec.rb index bd99c8b3885c8..1cf9cee023d2f 100644 --- a/decidim-conferences/spec/system/conference_registrations_spec.rb +++ b/decidim-conferences/spec/system/conference_registrations_spec.rb @@ -128,7 +128,7 @@ def visit_conference_registration_type end end - context "and there is published registrations types" do + context "and there are published registrations types" do it "allows to register" do visit_conference within ".conference__hero" do @@ -142,12 +142,12 @@ def visit_conference_registration_type end end - context "and there is unpublished registrations types" do + context "and there are unpublished registrations types" do let!(:registration_types) do create_list(:registration_type, 5, :unpublished, conference:) end - it "does not show register button" do + it "does not show the register button" do visit_conference within ".conference__hero" do expect(page).to have_no_content "Register" @@ -158,10 +158,10 @@ def visit_conference_registration_type end end - context "and there is no registrations types" do + context "and there are no registrations types" do let(:registration_types) { [] } - it "does not show register button" do + it "does not show the register button" do visit_conference within ".conference__hero" do expect(page).to have_no_content "Register"