From f88dfad9e6c78052b84aa7f54fe2a621d5da278e Mon Sep 17 00:00:00 2001 From: MidAutumnMoon Date: Thu, 5 Sep 2024 00:05:32 +0800 Subject: [PATCH] fix CI --- .github/workflows/ci.yml | 5 ++--- spec/painter_spec.rb | 2 +- spec/refinement_spec.rb | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29b8805..4c3428f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,10 @@ jobs: rspec: runs-on: ubuntu-latest - matrix: - ruby: [ 3.3 ] - strategy: fail-fast: false + matrix: + ruby: [ 3.3 ] steps: diff --git a/spec/painter_spec.rb b/spec/painter_spec.rb index b66c27e..654776d 100644 --- a/spec/painter_spec.rb +++ b/spec/painter_spec.rb @@ -8,7 +8,7 @@ # Expected results should be verified visually. describe Painter do - subject { Painter.new( "lomn" ) } + subject { Painter.new( "lomn" ).reinbow! } it "is its own class" do expect( subject ).to be_a Painter diff --git a/spec/refinement_spec.rb b/spec/refinement_spec.rb index 57bb19c..c6a8d21 100644 --- a/spec/refinement_spec.rb +++ b/spec/refinement_spec.rb @@ -6,7 +6,7 @@ module WithRefine using Reinbow - def self.blue_hello = "hello".blue.to_s + def self.blue_hello = "hello".blue.reinbow!.to_s end module WoRefine