add a step to check contents in assets directory

This commit is contained in:
Ashwin Maroli 2016-09-23 23:21:10 +05:30
parent 1b4b51236a
commit 1fb4dce2f5
2 changed files with 3 additions and 0 deletions

View File

@ -177,6 +177,8 @@ When(%r!^I decide to build the theme gem$!) do
File.write(gemspec, File.read(gemspec).sub("TODO: ", ""))
File.new("_includes/blank.html", "w")
File.new("_sass/blank.scss", "w")
FileUtils.mkdir_p("assets/css")
File.new("assets/css/blank.scss", "w")
end
#

View File

@ -25,6 +25,7 @@ Feature: Building Theme Gems
And the "my-cool-theme-0.1.0/_layouts/default.html" file should exist
And the "my-cool-theme-0.1.0/_includes/blank.html" file should exist
And the "my-cool-theme-0.1.0/_sass/blank.scss" file should exist
And the "my-cool-theme-0.1.0/assets/css/blank.scss" file should exist
And the my-cool-theme-0.1.0/.git directory should not exist
And the "my-cool-theme-0.1.0/.gitignore" file should not exist
And the "my-cool-theme-0.1.0/Gemfile" file should not exist