You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2021/02/19 23:54:54 UTC

[whimsy] branch master updated: Fix ambiguous operator warning for /

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 633f2a6  Fix ambiguous operator warning for /
633f2a6 is described below

commit 633f2a624428922cf2a57cbf4173dd7b6707da4f
Author: Sebb <se...@apache.org>
AuthorDate: Fri Feb 19 23:54:46 2021 +0000

    Fix ambiguous operator warning for /
---
 www/board/agenda/spec/actions_spec.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/board/agenda/spec/actions_spec.rb b/www/board/agenda/spec/actions_spec.rb
index b30cac6..c06c424 100644
--- a/www/board/agenda/spec/actions_spec.rb
+++ b/www/board/agenda/spec/actions_spec.rb
@@ -44,7 +44,7 @@ feature 'server actions' do
 
       eval(File.read('views/actions/attend.json.rb'))
       rollcall = @agenda.find {|item| item['title'] == 'Roll Call'}
-      expect(rollcall['text']).to match /Guests.*N\. E\. Member/m
+      expect(rollcall['text']).to match %r{Guests.*N\. E\. Member}m
     end
 
     it "should support a director's regrets" do
@@ -54,7 +54,7 @@ feature 'server actions' do
 
       eval(File.read('views/actions/attend.json.rb'))
       rollcall = @agenda.find {|item| item['title'] == 'Roll Call'}
-      expect(rollcall['text']).to match /Directors .* Absent:\s+Sam Ruby/
+      expect(rollcall['text']).to match %r{Directors .* Absent:\s+Sam Ruby}
     end
 
     it "should support moving a director back to attending" do
@@ -64,7 +64,7 @@ feature 'server actions' do
 
       eval(File.read('views/actions/attend.json.rb'))
       rollcall = @agenda.find {|item| item['title'] == 'Roll Call'}
-      expect(rollcall['text']).to match /Greg Stein\s+Directors .* Absent:/
+      expect(rollcall['text']).to match %r{Greg Stein\s+Directors .* Absent:}
     end
 
     it "should support a officer's regrets" do
@@ -74,7 +74,7 @@ feature 'server actions' do
 
       eval(File.read('views/actions/attend.json.rb'))
       rollcall = @agenda.find {|item| item['title'] == 'Roll Call'}
-      expect(rollcall['text']).to match /Officers .* Absent:\s+Craig L Russell/
+      expect(rollcall['text']).to match %r{Officers .* Absent:\s+Craig L Russell}
     end
   end