Skip to content

Commit

Permalink
valid mock responses
Browse files Browse the repository at this point in the history
  • Loading branch information
shime committed Jun 6, 2012
1 parent b4f1d3a commit e237fe1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions TESTING.md
Expand Up @@ -17,6 +17,11 @@ Then, to start the suite, run
rake
# NOT: bundle exec rake

Finally, this test suite runs against many rails versions. If you
prefer to run it against specific version hit

rake cucumber:rails:<VERSION>


For Maintainers
================
Expand Down
2 changes: 1 addition & 1 deletion features/support/rails.rb
Expand Up @@ -120,7 +120,7 @@ def perform_request(uri, environment = 'production')
env = Rack::MockRequest.env_for(#{uri.inspect})
response = RailsRoot::Application.call(env).last
response = RailsRoot::Application.call(env)
if response.is_a?(Array)
puts response.join
Expand Down

0 comments on commit e237fe1

Please sign in to comment.