lib/taza/site.rb in taza-0.9.2.1 vs lib/taza/site.rb in taza-1.0
- old
+ new
@@ -13,11 +13,11 @@
#
# class Google < Taza::Site
#
# end
class Site
- @@before_browser_closes = Proc.new() {}
+ @@before_browser_closes = Proc.new {}
@@donot_close_browser = false
# Use this to do something with the browser before it closes, but note that it is a class method which
# means that this will get called for any instance of a site.
#
# Here's an example of how you might use it to print the DOM output of a browser before it closes:
@@ -132,10 +132,10 @@
def pages_path # :nodoc:
File.join(path,'pages','**','*.rb')
end
def flows_path # :nodoc:
- File.join(path,'flows','*.rb')
+ File.join(path,'flows','**','*.rb')
end
def path # :nodoc:
File.join(base_path,'lib','sites',@class_name.underscore)
end