From c831a5d854eefe0aa6a553f89b5e9aa1f68b511f Mon Sep 17 00:00:00 2001 From: franlocus <78037877+franlocus@users.noreply.github.com> Date: Wed, 9 Nov 2022 10:16:35 -0300 Subject: [PATCH] [skip ci] Fix example with wrong attribute name (#1519) --- .../matchers/active_model/validate_exclusion_of_matcher.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb b/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb index f7e6db2e..5759308c 100644 --- a/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb +++ b/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb @@ -33,9 +33,9 @@ module Shoulda # # class Game # include ActiveModel::Model - # attr_accessor :supported_os + # attr_accessor :floors_with_enemies # - # validates_exclusion_of :supported_os, in: 5..8 + # validates_exclusion_of :floors_with_enemies, in: 5..8 # end # # # RSpec