Don't leave directories around after testing.
This commit is contained in:
parent
bd422403bd
commit
00958c1b24
@ -199,6 +199,7 @@ Feature: Command Line
|
||||
And a png file assets/wide_grid.png is not created
|
||||
|
||||
Scenario: Generate a compass configuration file
|
||||
Given I should clean up the directory: config
|
||||
When I run: compass config config/compass.rb --sass-dir sass --css-dir assets/css
|
||||
Then a configuration file config/compass.rb is created
|
||||
And the following configuration properties are set in config/compass.rb:
|
||||
|
@ -44,6 +44,10 @@ Given /^I'm in a newly created rails project: (.+)$/ do |project_name|
|
||||
end
|
||||
end
|
||||
|
||||
Given /^I should clean up the directory: (\w+)$/ do |directory|
|
||||
@cleanup_directories << directory
|
||||
end
|
||||
|
||||
# When Actions are performed
|
||||
When /^I create a project using: compass create ([^\s]+) ?(.+)?$/ do |dir, args|
|
||||
@cleanup_directories << dir
|
||||
|
Loading…
Reference in New Issue
Block a user