Skip to content

Commit

Permalink
CI's cucumber output is once again a blessed field of dots.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahmei committed Jul 15, 2011
1 parent bcb4fac commit 6974b20
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions features/step_definitions/oauth_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Chubbies

def self.run
@pid = fork do
Process.exec "cd #{Rails.root}/spec/chubbies/ && bundle exec rackup -p #{PORT} #{nullify}"
Process.exec "cd #{Rails.root}/spec/chubbies/ && bundle exec rackup -p #{PORT} 2> /dev/null 1> /dev/null"
end

at_exit do
Expand All @@ -75,10 +75,6 @@ def self.kill
`kill -9 #{get_pid}`
end

def self.nullify
ENV["CI"] ? '' : "2> /dev/null 1> /dev/null"
end

def self.ensure_killed
if !(@killed) && self.running?
self.kill
Expand Down

0 comments on commit 6974b20

Please sign in to comment.