Projects
openEuler:24.03:SP1:Everything
rubygem-rspec2-expectations
_service:tar_scm:rubygem-rspec-expectations-2.1...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:rubygem-rspec-expectations-2.14.5-ruby24.patch of Package rubygem-rspec2-expectations
Only in rspec-expectations-2.14.5: LOGLOG diff -urp rspec-expectations-2.14.5.orig/spec/rspec/expectations/expectation_target_spec.rb rspec-expectations-2.14.5/spec/rspec/expectations/expectation_target_spec.rb --- rspec-expectations-2.14.5.orig/spec/rspec/expectations/expectation_target_spec.rb 2017-02-17 19:28:23.271247469 +0900 +++ rspec-expectations-2.14.5/spec/rspec/expectations/expectation_target_spec.rb 2017-02-17 19:38:18.189674292 +0900 @@ -51,14 +51,14 @@ module RSpec end it 'fails an invalid negative expectation' do - message = /expected 5 not to be a kind of Fixnum/ + message = /expected 5 not to be a kind of Integer/ expect { expect(5).not_to be_a(Fixnum) }.to fail_with(message) end it 'fails an invalid negative expectation with a split infinitive' do - message = /expected 5 not to be a kind of Fixnum/ + message = /expected 5 not to be a kind of Integer/ expect { expect(5).to_not be_a(Fixnum) }.to fail_with(message) diff -urp rspec-expectations-2.14.5.orig/spec/rspec/matchers/be_instance_of_spec.rb rspec-expectations-2.14.5/spec/rspec/matchers/be_instance_of_spec.rb --- rspec-expectations-2.14.5.orig/spec/rspec/matchers/be_instance_of_spec.rb 2017-02-17 19:28:23.271247469 +0900 +++ rspec-expectations-2.14.5/spec/rspec/matchers/be_instance_of_spec.rb 2017-02-17 19:37:41.285523750 +0900 @@ -25,9 +25,9 @@ module RSpec end it "provides a description" do - matcher = be_an_instance_of(Fixnum) + matcher = be_an_instance_of(Integer) matcher.matches?(Numeric) - expect(matcher.description).to eq "be an instance of Fixnum" + expect(matcher.description).to eq "be an instance of Integer" end context "when expected provides an expanded inspect, e.g. AR::Base" do
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