parent
31bd301b28
commit
00639f89bd
|
@ -216,8 +216,6 @@ end
|
||||||
|
|
||||||
When(%r!^I decide to build the theme gem$!) do
|
When(%r!^I decide to build the theme gem$!) do
|
||||||
Dir.chdir(Paths.theme_gem_dir)
|
Dir.chdir(Paths.theme_gem_dir)
|
||||||
gemspec = "my-cool-theme.gemspec"
|
|
||||||
File.write(gemspec, File.read(gemspec).sub("TODO: ", ""))
|
|
||||||
File.new("_includes/blank.html", "w")
|
File.new("_includes/blank.html", "w")
|
||||||
File.new("_sass/blank.scss", "w")
|
File.new("_sass/blank.scss", "w")
|
||||||
File.new("assets/blank.scss", "w")
|
File.new("assets/blank.scss", "w")
|
||||||
|
|
|
@ -17,7 +17,7 @@ Feature: Building Theme Gems
|
||||||
Then the "assets/blank.scss" file should exist
|
Then the "assets/blank.scss" file should exist
|
||||||
When I run git add .
|
When I run git add .
|
||||||
Then I should get an updated git index
|
Then I should get an updated git index
|
||||||
When I run gem build my-cool-theme.gemspec
|
When I run gem build --force my-cool-theme.gemspec
|
||||||
Then the "./my-cool-theme-0.1.0.gem" file should exist
|
Then the "./my-cool-theme-0.1.0.gem" file should exist
|
||||||
When I run gem unpack my-cool-theme-0.1.0.gem
|
When I run gem unpack my-cool-theme-0.1.0.gem
|
||||||
Then the my-cool-theme-0.1.0 directory should exist
|
Then the my-cool-theme-0.1.0 directory should exist
|
||||||
|
|
Loading…
Reference in New Issue