Permalink
Browse files

adding 'compilable?' method to template handlers so we don't get meth…

…od missing error
  • Loading branch information...
1 parent b87151c commit 9b5d08181d31209d558f6e6266ae04099a1d548f @ryanb committed Jun 29, 2008
Showing with 9 additions and 2 deletions.
  1. +5 −2 lib/selenium_on_rails/rselenese.rb
  2. +4 −0 lib/selenium_on_rails/selenese.rb
@@ -31,5 +31,8 @@ def render template, local_assigns
eval assign_locals_code + "\n" + template
end
end
-
-end
+
+ def compilable?
+ false
+ end
+end
@@ -18,6 +18,10 @@ def render template, local_assigns
raise 'You cannot have comments in the middle of commands!' if next_line lines, :any
html
end
+
+ def compilable?
+ false
+ end
private
def next_line lines, expects

0 comments on commit 9b5d081

Please sign in to comment.