mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
removes whitespace
This commit is contained in:
parent
316453e8b5
commit
bf55f75431
45 changed files with 301 additions and 301 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue