test/base/test_context.rb in nanoc-3.6.6 vs test/base/test_context.rb in nanoc-3.6.7
- old
+ new
@@ -18,10 +18,10 @@
assert_equal('bar', eval("foo", context.get_binding))
end
def test_example
# Parse
- YARD.parse('../lib/nanoc/base/context.rb')
+ YARD.parse(LIB_DIR + '/nanoc/base/context.rb')
# Run
assert_examples_correct 'Nanoc::Context#initialize'
end