Skip to content

Commit

Permalink
Test for subdirectory creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
holizz committed Sep 27, 2010
1 parent e5b07e6 commit 0ab1409
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions spec/static_spec.rb
Expand Up @@ -71,6 +71,20 @@
Hello there
</noscript>
END
end

it "should create directories" do
stub_files_and_run 'pages/s/ash.html.yml' => <<END
---
layout: null
processor: raw
---
Hello there
END
File.should exist 'compiled/s/ash.html'
File.read('compiled/s/ash.html').should == <<END
Hello there
END
end
end

0 comments on commit 0ab1409

Please sign in to comment.