38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 96b8b55805c93ef6eb941af9fc612ce8a23ace07 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
|
|
Date: Fri, 7 Feb 2020 12:36:48 +0100
|
|
Subject: [PATCH] Bump to RSpec 3.9.
|
|
|
|
The one test failure was caused by change in RSpec 3.9:
|
|
|
|
https://github.com/rspec/rspec-expectations/pull/1080
|
|
---
|
|
Gemfile | 2 +-
|
|
features/its.feature | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff -Nur a/features/its.feature b/features/its.feature
|
|
--- a/features/its.feature 2022-06-29 16:18:39.419720230 +0800
|
|
+++ b/features/its.feature 2022-06-29 16:18:13.551300695 +0800
|
|
@@ -28,7 +28,7 @@
|
|
Person
|
|
with one phone number (555-1212)
|
|
phone_numbers.first
|
|
- should eq "555-1212"
|
|
+ is expected to eq "555-1212"
|
|
"""
|
|
|
|
Scenario: specify value of an attribute of a hash
|
|
diff -Nur a/Gemfile b/Gemfile
|
|
--- a/Gemfile 2022-06-29 16:18:39.415720165 +0800
|
|
+++ b/Gemfile 2022-06-29 16:18:13.551300695 +0800
|
|
@@ -4,7 +4,7 @@
|
|
gemspec
|
|
|
|
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
|
|
- branch = ENV.fetch('BRANCH','3-1-maintenance')
|
|
+ branch = ENV.fetch('BRANCH','3-9-maintenance')
|
|
library_path = File.expand_path("../../#{lib}", __FILE__)
|
|
if File.exist?(library_path)
|
|
gem lib, :path => library_path
|