Projects
Eulaceura:Mainline:GA
rubygem-rspec-its
_service:obs_scm:rubygem-rspec-its-1.2.0-Fix-Ru...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-rspec-its-1.2.0-Fix-Ruby-2.4-compatibility.patch of Package rubygem-rspec-its
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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2