Blob Blame Raw
From e28d273df0c75a16278bd959d46c6489b035860e Mon Sep 17 00:00:00 2001
From: Pavel Valena <pvalena@redhat.com>
Date: Tue, 12 Sep 2017 23:19:25 +0200
Subject: [PATCH] Fixnum to integer

---
 spec/rspec/its_spec.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/rspec/its_spec.rb b/spec/rspec/its_spec.rb
index 91eed5f..83788f6 100644
--- a/spec/rspec/its_spec.rb
+++ b/spec/rspec/its_spec.rb
@@ -55,7 +55,7 @@ module RSpec
           end
           its("name") { should eq("John") }
           its("name.size") { should eq(4) }
-          its("name.size.class") { should eq(Fixnum) }
+          its("name.size.class") { should eq(Integer) }
 
           context "using should_not" do
             its("name") { should_not eq("Paul") }
@@ -86,7 +86,7 @@ module RSpec
           end
           its([:a]) { should eq("Symbol: a") }
           its(['a']) { should eq("String: a") }
-          its([:b, 'c', 4]) { should eq("Symbol: b; String: c; Fixnum: 4") }
+          its([:b, 'c', 4]) { should eq("Symbol: b; String: c; Integer: 4") }
           its(:name) { should eq("George") }
           context "when referring to an attribute that doesn't exist" do
             context "it raises an error" do
-- 
1.8.3.1