From 927b8a1aaef955ce024e80bf95c6dda7fbe92438 Mon Sep 17 00:00:00 2001 From: Samuel Cochran Date: Sat, 17 Jan 2015 15:08:42 +1100 Subject: [PATCH] Placate ambiguous argument warning --- spec/acceptance_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acceptance_spec.rb b/spec/acceptance_spec.rb index cf2e95c..c768a4a 100644 --- a/spec/acceptance_spec.rb +++ b/spec/acceptance_spec.rb @@ -111,7 +111,7 @@ describe MailCatcher do plain_tab_element.click iframe_element.displayed?.must_equal true - iframe_element.attribute(:src).must_match /\.plain\Z/ + iframe_element.attribute(:src).must_match(/\.plain\Z/) selenium.switch_to.frame(iframe_element)