diff --git a/features/command_line.feature b/features/command_line.feature index 0c48c416..f0be79b1 100644 --- a/features/command_line.feature +++ b/features/command_line.feature @@ -69,6 +69,7 @@ Feature: Command Line And the command exits with a non-zero error code Scenario: Initializing a rails project + Given ruby supports fork Given I'm in a newly created rails project: my_rails_project When I initialize a project using: compass init rails --sass-dir app/stylesheets --css-dir public/stylesheets/compiled Then a config file config/compass.rb is reported created @@ -179,6 +180,7 @@ Feature: Command Line And a css file tmp/layout.css is reported overwritten Scenario: Watching a project for changes + Given ruby supports fork Given I am using the existing project in test/fixtures/stylesheets/compass When I run: compass compile And I run in a separate process: compass watch diff --git a/features/extensions.feature b/features/extensions.feature index 079fa53c..5a31a902 100644 --- a/features/extensions.feature +++ b/features/extensions.feature @@ -14,7 +14,8 @@ Feature: Extensions @listframeworks Scenario: Extensions directory for rails projects - Given I'm in a newly created rails project: my_rails_project + Given ruby supports fork + And I'm in a newly created rails project: my_rails_project And the "my_rails_project/vendor/plugins/compass/extensions" directory exists And and I have a fake extension at my_rails_project/vendor/plugins/compass/extensions/testing When I run: compass frameworks diff --git a/features/step_definitions/command_line_steps.rb b/features/step_definitions/command_line_steps.rb index 8efdf14c..0b4407fa 100644 --- a/features/step_definitions/command_line_steps.rb +++ b/features/step_definitions/command_line_steps.rb @@ -21,6 +21,12 @@ After do end end +Given "ruby supports fork" do + if RUBY_PLATFORM == "java" + pending + end +end + # Given Preconditions Given %r{^I am using the existing project in ([^\s]+)$} do |project| tmp_project = "tmp_#{File.basename(project)}"