1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Larry Gilbert
d7a11503af Reorganize specs
* Put unit and integration specs into separate subdirectories
* Consolidate all requires of 'webmock/rspec' into spec_helper.rb
* Use WebMock.{disable!,enable!} for specs calling live server
2013-08-30 18:45:06 -07:00
Larry Gilbert
9b083b6a6e Changed use of spec/base.rb into spec/spec_helper.rb 2013-08-30 18:45:06 -07:00
Jon Rowe
0b6e74593a convert == to eq to avoid warnings, (all were done for concistency)
Conflicts:
	spec/request2_spec.rb
2013-08-11 21:16:02 +01:00
Larry Gilbert
5cb0da475e Use IO#closed? instead of temp file count to test file closure in spec
Hopefully this takes care of the spurious spec failures described in
issue #163.
2013-08-01 12:02:15 -07:00
Matt Manning
8889e4d544 include WebMock::API to get rid of deprecation warnings 2012-11-08 23:24:31 -05:00
Evan Smith
8b7927591b updated to call Base#close when finished transmitting 2011-07-05 15:56:27 -07:00
Julien Kirch
8a9c6d7383 adding :block_response parameter 2010-12-07 19:50:54 +01:00
Niko Dittmann
ec7e9923cc ! ruby 1.9.2 spec loading 2010-07-04 15:47:06 +02:00
Julien Kirch
3b35565015 do not extract param for get request if the value isn't a Hash, this should improve ompatibility 2010-05-30 09:51:59 +02:00
Julien Kirch
1afbc2a929 added parameter passing for get request using the :param key in header 2010-05-25 20:05:41 +02:00