summaryrefslogtreecommitdiff
path: root/test/spec_mock.rb
Commit message (Expand)AuthorAgeFilesLines
* DRY up tests using the test helperJeremy Evans2020-01-271-4/+1
* Add new `Response.[]` and `MockResponse.[]` which are very similar. Fixes #1094.Samuel Williams2020-01-141-0/+11
* Allow global expectation explicitly for minitest.Nikolay Rys2019-10-061-1/+1
* Merge pull request #855 from Comcast/masterRafael Mendonça França2018-09-121-12/+54
|\
| * API to extract cookies from mock responsePeter Cline2015-06-151-2/+42
* | RuboCop: enable Layout/Space* cops (#1259)yhirano552018-04-171-3/+3
* | Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b } (#1253)yhirano552018-04-161-23/+23
* | Add frozen_string_literal: true to remaining filesDillon Welch2018-04-131-0/+2
* | Merge pull request #1163 from janko-m/rely-on-size-in-mock-requestAaron Patterson2017-05-151-0/+9
|\ \
| * | Don't require input to respond to #size in MockRequest.env_forJanko Marohnić2017-05-011-0/+3
| * | Rely on input #size instead of #length in MockRequest.env_forJanko Marohnić2017-05-011-0/+6
* | | Ensure env values are ASCII 8BIT encodedeileencodes2017-05-121-0/+17
|/ /
* | `Response#add_header` to add to a value to a multivalued headerJeremy Daer2015-10-031-0/+67
* | First attempt to mass-port from minitest/bacon to minitest/spec.Ryan Davis2015-06-121-132/+129
|/
* Added minitest/bacon to the top of each file so they can be run straight up.Ryan Davis2015-06-111-0/+1
* Converting to minitest: phase 1: minitest/baconRyan Davis2015-06-111-1/+1
* use RFC 2396 URI parser in the mock objectAaron Patterson2014-07-081-0/+8
* Wrap test apps in Rack::Lint and fix uncovered errors (fifth pass)Lars Gierth2012-03-311-7/+8
* Add #patch to MockRequestDavid Lee2012-02-221-0/+4
* Support #head in rack::mockrequestJames Tucker2011-12-171-1/+5
* Fix for psychJames Tucker2011-09-021-1/+2
* whitspaceKonstantin Haase2011-06-141-1/+1
* Have MockRequest call close on the body rather than MockResponse.Konstantin Haase2011-06-141-6/+16
* call #close on body in mock responsesKonstantin Haase2011-06-091-0/+8
* refactor of multipart moduleSam Woodard2011-05-021-1/+1
* fixing unused variable warnings in 1.9.3Aaron Patterson2011-01-141-1/+1
* Silence test warningsJoshua Peek2010-12-091-1/+1
* Rename spec/ back to test/Christian Neukirchen2010-06-151-0/+241