From df9d01fd23ec12c8718abef3e65e447724383105 Mon Sep 17 00:00:00 2001 From: Joni Lahtinen Date: Wed, 22 Apr 2015 21:40:54 +0300 Subject: Use include expectation instead of unneeded regular expression Fixes lint warning --- spec/install/force_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/install/force_spec.rb') diff --git a/spec/install/force_spec.rb b/spec/install/force_spec.rb index 46b75cf4cc..269390994a 100644 --- a/spec/install/force_spec.rb +++ b/spec/install/force_spec.rb @@ -13,7 +13,7 @@ describe "bundle install" do it "re-installs installed gems" do bundle "install --force" - expect(out).to match /Installing rack 1\.0\.0/ + expect(out).to include "Installing rack 1.0.0" should_be_installed "rack 1.0.0" end end -- cgit v1.2.1