test/angelo/erb_spec.rb in angelo-0.4.1 vs test/angelo/erb_spec.rb in angelo-0.5.0
- old
+ new
@@ -1,4 +1,10 @@
+# Having to require this sucks because tilt is an implementation
+# detail we shouldn't have to know about. But this avoids a "tilt
+# autoloading 'tilt/erb' in a non thread-safe way" wanring.
+#
+require 'tilt/erb'
+
require_relative '../spec_helper'
describe Angelo::Base do
describe Angelo::Tilt::ERB do