tests/staticpress_test.rb in staticpress-0.4.0 vs tests/staticpress_test.rb in staticpress-0.5.0
- old
+ new
@@ -2,17 +2,17 @@
require 'pathname'
class StaticpressTest < TestCase
def test_blog_path
- assert_equal Pathname.new('tests/test_blog').expand_path, Staticpress.blog_path
+ assert_equal Pathname('tests/test_blog').expand_path, Staticpress.blog_path
end
def test_blog_path=
Staticpress.blog_path = 'some/other/directory'
- assert_equal Pathname.new('some/other/directory').expand_path, Staticpress.blog_path
+ assert_equal Pathname('some/other/directory').expand_path, Staticpress.blog_path
end
def test_root
- assert_equal Pathname.new('lib/').expand_path, Staticpress.root
+ assert_equal Pathname('lib/').expand_path, Staticpress.root
end
end