lib/symbiont/pages.rb in symbiont-0.13.0 vs lib/symbiont/pages.rb in symbiont-0.14.0
- old
+ new
@@ -25,9 +25,13 @@
def displayed?
has_correct_url?
end
+ def secure?
+ !url.match(/^https/).nil?
+ end
+
def asserted_url
self.class.asserted_url
end
def url_match