test/base/test_code_snippet.rb in nanoc-4.8.5 vs test/base/test_code_snippet.rb in nanoc-4.8.6

- old
+ new

@@ -1,21 +1,9 @@ # frozen_string_literal: true require 'helper' class Nanoc::Int::CodeSnippetTest < Nanoc::TestCase - def test_load - # Initialize - $complete_insane_parrot = 'meow' - - # Create code and load it - code_snippet = Nanoc::Int::CodeSnippet.new("$complete_insane_parrot = 'woof'", 'parrot.rb') - code_snippet.load - - # Ensure code is loaded - assert_equal('woof', $complete_insane_parrot) - end - def test_load_with_toplevel_binding # Initialize @foo = 'meow' # Create code and load it