You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rubygem-rspec-its/rubygem-rspec-its-1.3.0-Bum...

43 lines
1.3 KiB

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 --git a/Gemfile b/Gemfile
index b1c4141..3215060 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
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) && !ENV['USE_GIT_REPOS']
gem lib, :path => library_path
diff --git a/features/its.feature b/features/its.feature
index 4d9c661..19329b6 100644
--- a/features/its.feature
+++ b/features/its.feature
@@ -28,7 +28,7 @@ Feature: attribute of subject
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
--
2.25.0