removes whitespace

This commit is contained in:
Ben Mabey 2010-05-30 21:12:58 -06:00
parent 316453e8b5
commit bf55f75431
45 changed files with 301 additions and 301 deletions

View file

@ -15,5 +15,5 @@ Feature: multiple database cleaning
| ActiveRecord | truncation |
| DataMapper | truncation |
# | ActiveRecord | transaction |
# | MongoMapper | truncation |
# | DataMapper | transaction | # Tickers are ugly...and betty don't like ugly... otherwise known as this is fubar
# | MongoMapper | truncation |
# | DataMapper | transaction | # Tickers are ugly...and betty don't like ugly... otherwise known as this is fubar

View file

@ -29,4 +29,4 @@ end
Then "I should see all green" do
fail "Feature failed with :#{@feature_runner.output}" unless @feature_runner.exit_status == 0
end
end

View file

@ -5,11 +5,11 @@ class FeatureRunner
attr_accessor :strategy
attr_accessor :exit_status
attr_accessor :output
def strategy
@strategy || 'truncation'
end
def go feature
full_dir ||= File.expand_path(File.dirname(__FILE__) + "/../../examples/")
Dir.chdir(full_dir) do
@ -21,8 +21,8 @@ class FeatureRunner
self.output = `#{"jruby -S " if defined?(JRUBY_VERSION)}cucumber features/#{feature}.feature`
self.exit_status = $?.exitstatus
end
self.exit_status = $?.exitstatus
end
end
end
end