disable some tests in jruby.

This commit is contained in:
Chris Eppstein 2011-04-28 21:36:33 -07:00
parent 8728d676db
commit d9e4054c7d
3 changed files with 10 additions and 1 deletions

View File

@ -69,6 +69,7 @@ Feature: Command Line
And the command exits with a non-zero error code And the command exits with a non-zero error code
Scenario: Initializing a rails project Scenario: Initializing a rails project
Given ruby supports fork
Given I'm in a newly created rails project: my_rails_project 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 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 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 And a css file tmp/layout.css is reported overwritten
Scenario: Watching a project for changes Scenario: Watching a project for changes
Given ruby supports fork
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 compile When I run: compass compile
And I run in a separate process: compass watch And I run in a separate process: compass watch

View File

@ -14,7 +14,8 @@ Feature: Extensions
@listframeworks @listframeworks
Scenario: Extensions directory for rails projects 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 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 And and I have a fake extension at my_rails_project/vendor/plugins/compass/extensions/testing
When I run: compass frameworks When I run: compass frameworks

View File

@ -21,6 +21,12 @@ After do
end end
end end
Given "ruby supports fork" do
if RUBY_PLATFORM == "java"
pending
end
end
# Given Preconditions # Given Preconditions
Given %r{^I am using the existing project in ([^\s]+)$} do |project| Given %r{^I am using the existing project in ([^\s]+)$} do |project|
tmp_project = "tmp_#{File.basename(project)}" tmp_project = "tmp_#{File.basename(project)}"