Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ruby 1.9 instance_eval doesn't like lambdas, use a proc instead

  • Loading branch information...
commit de8fa2992874bc36b54410208f4fef42237a356b 1 parent 2dc6872
@cap10morgan cap10morgan authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  features/steps/remote_service_steps.rb
View
2  features/steps/remote_service_steps.rb
@@ -14,7 +14,7 @@
Given /^that service takes (\d+) seconds to generate a response$/ do |time|
@server_response_time = time.to_i
- @handler.preprocessor = lambda { sleep time.to_i }
+ @handler.preprocessor = Proc.new { sleep time.to_i }
end
Given /^a remote deflate service$/ do
Please sign in to comment.
Something went wrong with that request. Please try again.