spec/angelo/mustermann_spec.rb in angelo-0.1.1 vs spec/angelo/mustermann_spec.rb in angelo-0.1.2

- old
+ new

@@ -1,12 +1,10 @@ if RUBY_VERSION =~ /^2\./ require_relative '../spec_helper' require 'angelo/mustermann' - TILT_MM_TEST_ROOT = File.expand_path '..', __FILE__ - describe Angelo::Mustermann do describe 'pattern matching' do pattern = '/:foo/things/:bar' @@ -61,10 +59,10 @@ define_app do include Angelo::Tilt::ERB include Angelo::Mustermann - @root = TILT_MM_TEST_ROOT + @root = TEST_APP_ROOT get '/:foo/things/:bar' do @title = params[:foo] @foo = 'bear' erb :index, locals: {bar: params[:bar]}