spec/angelo/erb_spec.rb in angelo-0.1.1 vs spec/angelo/erb_spec.rb in angelo-0.1.2
- old
+ new
@@ -1,17 +1,15 @@
require_relative '../spec_helper'
require 'angelo/tilt/erb'
-ROOT = File.expand_path '..', __FILE__
-
describe Angelo::Base do
describe Angelo::Tilt::ERB do
define_app do
include Angelo::Tilt::ERB
- @root = ROOT
+ @root = TEST_APP_ROOT
def set_vars
@title = 'test'
@foo = params[:foo]
end