diff --git a/spec/roda_integration_spec.rb b/spec/roda_integration_spec.rb index ae51ed8..1a395d3 100644 --- a/spec/roda_integration_spec.rb +++ b/spec/roda_integration_spec.rb @@ -11,11 +11,7 @@ begin require 'tilt/erubi' rescue LoadError - begin - require 'tilt/erubis' - rescue LoadError - require 'tilt/erb' - end + require 'tilt/erb' end def FormeRodaTest(block=ERB_BLOCK) diff --git a/spec/sinatra_integration_spec.rb b/spec/sinatra_integration_spec.rb index f4c66a6..6abd5d9 100644 --- a/spec/sinatra_integration_spec.rb +++ b/spec/sinatra_integration_spec.rb @@ -9,14 +9,9 @@ warn "unable to load sinatra or rack/csrf, skipping sinatra spec" else begin - require 'tilt/erubis' + require 'tilt/erubi' rescue LoadError require 'tilt/erb' - begin - require 'erubis' - rescue LoadError - require 'erb' - end end require_relative '../lib/forme/erb' class FormeSinatraTest < Sinatra::Base