spec/ramaze/template/amrita2.rb in manveru-ramaze-2008.10 vs spec/ramaze/template/amrita2.rb in manveru-ramaze-2008.12
- old
+ new
@@ -4,10 +4,10 @@
require 'spec/helper'
spec_require 'amrita2'
class TCTemplateAmritaController < Ramaze::Controller
- view_root __DIR__/:amrita2
+ view_root __DIR__(:amrita2)
engine :Amrita2
def internal
@data = { :hello => "hello world" }
"<h1 am:src='hello' />"