spec/ramaze/controller/template_resolving.rb in ramaze-2008.11 vs spec/ramaze/controller/template_resolving.rb in ramaze-2009.01
- old
+ new
@@ -2,10 +2,10 @@
# All files in this distribution are subject to the terms of the Ruby license.
require 'spec/helper'
class MainController < Ramaze::Controller
- view_root __DIR__/:view
+ view_root __DIR__(:view)
def greet(type, message = "Message")
@greet = "#{type} : #{message}"
end