diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7fa6129e..2f8b6a92 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,6 +20,7 @@ jobs: - "3.1" - "3.2" - "3.3" + - "3.4" - "jruby-9.4" steps: - name: Checkout code diff --git a/spec/core/resource_spec.rb b/spec/core/resource_spec.rb index 58814fcd..59f607e3 100644 --- a/spec/core/resource_spec.rb +++ b/spec/core/resource_spec.rb @@ -455,7 +455,12 @@ def to_param context "#inspect" do it "should display nicely" do - expect(ZendeskAPI::User.new(client, :foo => :bar).inspect).to eq("#:bar}>") + expected_user_representation = if RUBY_VERSION >= "3.4" + "# :bar}>" + else + "#:bar}>" + end + expect(ZendeskAPI::User.new(client, :foo => :bar).inspect).to eq(expected_user_representation) end end