2009-11-19 07:44:30 +00:00
|
|
|
Feature: Extensions
|
|
|
|
In order to have an open source ecosystem for stylesheets
|
|
|
|
As a compass user
|
|
|
|
I can install extensions that others have created
|
|
|
|
And I can create and publish my own extensions
|
|
|
|
|
2010-05-30 19:37:12 +00:00
|
|
|
@listframeworks
|
2009-11-19 07:44:30 +00:00
|
|
|
Scenario: Extensions directory for stand_alone projects
|
|
|
|
Given I am using the existing project in test/fixtures/stylesheets/compass
|
|
|
|
And the "extensions" directory exists
|
|
|
|
And and I have a fake extension at extensions/testing
|
2010-05-30 19:37:12 +00:00
|
|
|
When I run: compass frameworks
|
2009-11-19 07:44:30 +00:00
|
|
|
Then the list of frameworks includes "testing"
|
|
|
|
|
2010-05-30 19:37:12 +00:00
|
|
|
@listframeworks
|
2009-11-19 07:44:30 +00:00
|
|
|
Scenario: Extensions directory for rails projects
|
2011-04-29 04:36:33 +00:00
|
|
|
Given ruby supports fork
|
|
|
|
And I'm in a newly created rails project: my_rails_project
|
2011-11-17 23:40:42 +00:00
|
|
|
And I run: compass init rails
|
|
|
|
And the "vendor/plugins/compass_extensions" directory exists
|
|
|
|
And and I have a fake extension at vendor/plugins/compass_extensions/testing
|
2010-05-30 19:37:12 +00:00
|
|
|
When I run: compass frameworks
|
2009-11-19 07:44:30 +00:00
|
|
|
Then the list of frameworks includes "testing"
|
|
|
|
|
2011-03-21 16:29:43 +00:00
|
|
|
@listframeworks
|
|
|
|
Scenario: Shared extensions directory
|
2011-11-17 23:40:42 +00:00
|
|
|
Given the "~/.compass/extensions" directory exists
|
2011-03-21 16:29:43 +00:00
|
|
|
And and I have a fake extension at ~/.compass/extensions/testing
|
2011-11-17 23:40:42 +00:00
|
|
|
And I am using the existing project in test/fixtures/stylesheets/compass
|
2011-03-21 16:29:43 +00:00
|
|
|
When I run: compass frameworks
|
|
|
|
Then the list of frameworks includes "testing"
|
2011-11-07 02:01:07 +00:00
|
|
|
|
|
|
|
@listframeworks
|
|
|
|
Scenario: Frameworks without templates
|
|
|
|
Given I am using the existing project in test/fixtures/stylesheets/uses_only_stylesheets_ext
|
|
|
|
When I run: compass frameworks
|
|
|
|
Then the list of frameworks includes "only_stylesheets"
|