require 'rspec/core/rake_task'

namespace :spec do
  desc "Run the smoke tests"
  RSpec::Core::RakeTask.new(:smoke) do |t|
    t.pattern = "spec/smoke/**/*.rb"
    response = `curl --silent -I http://localhost:3000`
    raise "Make sure rails is running locally before running webdriver tests" unless response.match "200 OK"
  end
end
require 'rspec/core/rake_task'

namespace :spec do
  desc "Run the smoke tests"
  RSpec::Core::RakeTask.new(:smoke) do |t|
    t.pattern = "spec/smoke/**/*.rb"
  end
end
Revert "added check for local rails server before running webdriver tests"
Revert "added check for local rails server before running webdriver tests"

This reverts commit 130601a6ffb31c0aba06da63544049f0fa315547.
