Skip to content

Commit

Permalink
Merge pull request #385 from paybyphone/kitchen_tests
Browse files Browse the repository at this point in the history
Fit kitchen test failures
  • Loading branch information
legal90 authored Dec 16, 2016
2 parents 07669be + 56f578f commit e75cfca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 52 deletions.
2 changes: 0 additions & 2 deletions test/integration/client/serverspec/default_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
require 'spec_helper'
require 'json'

consul_version = '0.7.0'

if windows?
consul_executable = "C:\\Program Files\\consul\\#{consul_version}\\consul.exe"
consul_command = "& '#{consul_executable}'"
Expand Down
2 changes: 0 additions & 2 deletions test/integration/default/serverspec/default_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
require 'spec_helper'

consul_version = '0.7.1'

if windows?
consul_executable = "C:\\Program Files\\consul\\#{consul_version}\\consul.exe"
consul_command = "& '#{consul_executable}'"
Expand Down
4 changes: 4 additions & 0 deletions test/integration/helpers/serverspec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ def windows?
(/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
end

def consul_version
'0.7.1'
end

if !windows?
set :backend, :exec
else
Expand Down
48 changes: 0 additions & 48 deletions test/integration/zip/serverspec/default_spec.rb

This file was deleted.

0 comments on commit e75cfca

Please sign in to comment.