Fix a broken test case.

This commit is contained in:
Chris Eppstein 2010-08-28 12:50:48 -07:00
parent 7467463d13
commit 84f95019ce
2 changed files with 17 additions and 11 deletions

View File

@ -258,15 +258,21 @@ Feature: Command Line
Given I am using the existing project in test/fixtures/stylesheets/compass Given I am using the existing project in test/fixtures/stylesheets/compass
When I run: compass stats When I run: compass stats
Then I am told statistics for each file: Then I am told statistics for each file:
| Filename | Rules | Properties | Mixins Defs | Mixins Used | CSS Rules | CSS Properties | | Filename | Rules | Properties | Mixins Defs | Mixins Used | CSS Rules | CSS Properties |
| sass/box.sass | 15 | 0 | 0 | 19 | 15 | 59 | | sass/border_radius.scss | 3 | 0 | 0 | 3 | 3 | 18 |
| sass/gradients.sass | 19 | 0 | 0 | 19 | 19 | 19 | | sass/box.sass | 15 | 0 | 0 | 19 | 15 | 59 |
| sass/image_size.sass | 4 | 8 | 0 | 0 | 4 | 8 | | sass/fonts.sass | 0 | 0 | 0 | 1 | 1 | 2 |
| sass/layout.sass | 0 | 0 | 0 | 1 | 5 | 10 | | sass/gradients.sass | 19 | 0 | 0 | 19 | 19 | 19 |
| sass/print.sass | 0 | 0 | 0 | 2 | 61 | 61 | | sass/image_size.sass | 4 | 8 | 0 | 0 | 4 | 8 |
| sass/reset.sass | 4 | 1 | 0 | 2 | 190 | 664 | | sass/images.scss | 3 | 3 | 0 | 0 | 3 | 3 |
| sass/utilities.scss | 2 | 0 | 0 | 2 | 5 | 11 | | sass/layout.sass | 0 | 0 | 0 | 1 | 5 | 10 |
| Total.* | 44 | 9 | 0 | 45 | 299 | 832 | | sass/legacy_clearfix.scss | 2 | 0 | 0 | 2 | 5 | 11 |
| sass/lists.scss | 9 | 0 | 0 | 9 | 35 | 111 |
| sass/print.sass | 0 | 0 | 0 | 2 | 61 | 61 |
| sass/reset.sass | 4 | 1 | 0 | 2 | 190 | 664 |
| sass/utilities.scss | 2 | 0 | 0 | 2 | 3 | 9 |
| ------------------------- | ----- | ---------- | -------------- | ----------- | --------- | -------------- |
| Total.* | 61 | 12 | 0 | 60 | 344 | 975 |
@listframeworks @listframeworks
Scenario: List frameworks registered with compass Scenario: List frameworks registered with compass

View File

@ -34,7 +34,7 @@ Given %r{^I am in the parent directory$} do
Dir.chdir ".." Dir.chdir ".."
end end
Given /^I'm in a newly created rails project: (.+)$/ do |project_name| Given %r{^I'm in a newly created rails project: (.+)$} do |project_name|
@cleanup_directories << project_name @cleanup_directories << project_name
begin begin
generate_rails_app project_name generate_rails_app project_name