Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use the abstractions we have. Bump up Cucumber timeout all around.

  • Loading branch information...
commit 81eb06c1da18e183528c6e339349d0119626cb77 1 parent 52a9348
Gabe Berke-Williams authored
6  features/support/env.rb
@@ -6,10 +6,6 @@
6 6
 require 'aruba/cucumber'
7 7
 require 'kumade'
8 8
 
9  
-Before('@slow') do
  9
+Before do
10 10
   @aruba_timeout_seconds = 60
11 11
 end
12  
-
13  
-After('@slow') do
14  
-  @aruba_timeout_seconds = Aruba::Api::DEFAULT_TIMEOUT_SECONDS
15  
-end
3  lib/kumade/heroku.rb
@@ -22,8 +22,7 @@ def migrate_database
22 22
 
23 23
     def restart_app
24 24
       unless Kumade.configuration.pretending?
25  
-        command_line = CommandLine.new("bundle exec heroku restart --remote #{Kumade.configuration.environment}")
26  
-        command_line.run_or_error("Failed to restart #{Kumade.configuration.environment}")
  25
+        heroku("restart")
27 26
       end
28 27
       Kumade.configuration.outputter.success("Restarted #{Kumade.configuration.environment}")
29 28
     end

0 notes on commit 81eb06c

Please sign in to comment.
Something went wrong with that request. Please try again.