test/helpers/test_blogging.rb in nanoc-4.0.0 vs test/helpers/test_blogging.rb in nanoc-4.0.1
- old
+ new
@@ -322,15 +322,15 @@
# Create items
@items = [mock_item, mock_article]
@items[1].expects(:compiled_content).with(snapshot: :pre).returns('asdf')
# Mock site
- @config = Nanoc::ConfigView.new({
+ @config = Nanoc::ConfigView.new(
author_name: 'Bob',
author_uri: 'http://example.com/~bob/',
title: 'My Blog Or Something',
base_url: 'http://example.com',
- })
+ )
# Create feed item
@item = mock
@item.stubs(:[]).with(:title).returns(nil)
@item.stubs(:[]).with(:author_name).returns(nil)