test/base/test_site.rb in nanoc-3.4.2 vs test/base/test_site.rb in nanoc-3.4.3
- old
+ new
@@ -4,10 +4,10 @@
include Nanoc::TestHelpers
def test_initialize_with_dir_without_config_yaml
assert_raises(Errno::ENOENT) do
- site = Nanoc::Site.new('.')
+ Nanoc::Site.new('.')
end
end
def test_initialize_with_dir_with_config_yaml
File.open('config.yaml', 'w') { |io| io.write('output_dir: public_html') }