test/base/test_context.rb in nanoc-3.7.3 vs test/base/test_context.rb in nanoc-3.7.4

- old
+ new

@@ -5,18 +5,18 @@ def test_context_with_instance_variable # Create context context = Nanoc::Context.new({ :foo => 'bar', :baz => 'quux' }) # Ensure correct evaluation - assert_equal('bar', eval("@foo", context.get_binding)) + assert_equal('bar', eval('@foo', context.get_binding)) end def test_context_with_instance_method # Create context context = Nanoc::Context.new({ :foo => 'bar', :baz => 'quux' }) # Ensure correct evaluation - assert_equal('bar', eval("foo", context.get_binding)) + assert_equal('bar', eval('foo', context.get_binding)) end def test_example # Parse YARD.parse(LIB_DIR + '/nanoc/base/context.rb')