Sha256: ada6e9272faefeae0a6dc0e499086e34251a3f4554008cc5d797ba7ac49c0a98

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 Bytes

Contents

require 'rack'

Given /^I have a rack application "([^"]*)"$/ do |app|
   testfile_exists?(app).should be_true 
end

Given /^the rack test app is running$/ do
  start_server(3000,"test_objects/config.ru")
end

Given /^the rails test app is running$/ do
  current_dir = Dir.pwd
  Dir.chdir("test_objects/rails_test")
  start_server(3000,"config.ru")
  Dir.chdir(current_dir)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yarn-0.1.0 features/step_definitions/rack_steps.rb
yarn-0.0.9 features/step_definitions/rack_steps.rb
yarn-0.0.2 features/step_definitions/rack_steps.rb