lib/rspec/request_describer.rb in rspec-request_describer-0.0.6 vs lib/rspec/request_describer.rb in rspec-request_describer-0.0.7

- old
+ new

@@ -17,9 +17,13 @@ ) def self.included(base) base.instance_eval do subject do + send_request + end + + let(:send_request) do send method, path, request_body, env end let(:request_body) do if headers["Content-Type"] == "application/json"