Sha256: 6ecfe2d2de7982af7eca24d05f3b068ac4cd073da7d8c1006bc517398bb853d2

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

begin
  require 'spec'
rescue LoadError
  require 'rubygems' unless ENV['NO_RUBYGEMS']
  gem 'rspec'
  require 'spec'
end

require 'net/http'
$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'cucumba'

begin
  Net::HTTP.start('127.0.0.1', 5001) { |http| http.get('/') }
rescue Errno::ECONNREFUSED
  puts <<EOF
  ##########################################
  # YOU FORGOT TO RUN SAMPLE RAILS SERVER! #
  ##########################################
  ./spec/support/sample_app_run.sh
EOF
  exit 1
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cucumba-0.0.6 spec/spec_helper.rb
cucumba-0.0.5 spec/spec_helper.rb