rest-assured 0.2.0.rc3 → 0.2.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ class Response
5
5
  if d = Double.where(:fullpath => request.fullpath, :active => true, :verb => request.request_method).first
6
6
  request.body.rewind
7
7
  body = request.body.read #without temp variable ':body = > body' is always nil. mistery
8
- env = request.env.except('rack.input', 'rack.errors')
8
+ env = request.env.except('rack.input', 'rack.errors', 'rack.logger')
9
9
 
10
10
  d.requests.create!(:rack_env => env.to_json, :body => body, :params => request.params.to_json)
11
11
 
@@ -1,3 +1,3 @@
1
1
  module RestAssured
2
- VERSION = '0.2.0.rc3'
2
+ VERSION = '0.2.0.rc4'
3
3
  end
@@ -59,7 +59,7 @@ describe Response do
59
59
  requests = double.as_null_object
60
60
  Double.stub_chain('where.first').and_return(double(:requests => requests).as_null_object)
61
61
 
62
- env.should_receive(:except).with('rack.input', 'rack.errors')
62
+ env.should_receive(:except).with('rack.input', 'rack.errors', 'rack.logger')
63
63
 
64
64
  Response.perform(rest_assured_app)
65
65
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-assured
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424051
4
+ hash: 15424061
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
9
  - 0
10
10
  - rc
11
- - 3
12
- version: 0.2.0.rc3
11
+ - 4
12
+ version: 0.2.0.rc4
13
13
  platform: ruby
14
14
  authors:
15
15
  - Artem Avetisyan