test/commands/generator_test.rb in author-1.0.1.alpha vs test/commands/generator_test.rb in author-1.1.0.alpha
- old
+ new
@@ -13,10 +13,11 @@
capture(:stdout) { Author::Commands::Generator.start ['abook'] }
'abook'.must_be_a_directory
'abook/chapters'.must_be_a_directory
'abook/export'.must_be_a_directory
+ 'abook/templates'.must_be_a_directory
end
end
it "should create project files" do
play_in_sandbox do
@@ -24,9 +25,10 @@
'ihazfiles/config.yml'.must_be_a_file
'ihazfiles/Gemfile'.must_be_a_file
'ihazfiles/outline.txt'.must_be_a_file
'ihazfiles/chapters/sample.md'.must_be_a_file
+ 'ihazfiles/templates/layout.xhtml'.must_be_a_file
end
end
it "should run bundler for the new project" do
play_in_sandbox do
\ No newline at end of file