add a step to check contents in assets directory
This commit is contained in:
parent
1b4b51236a
commit
1fb4dce2f5
|
@ -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
|
||||
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue