mimic
mimic copied to clipboard
A Ruby gem for faking external web services for testing
Bumps [sinatra](https://github.com/sinatra/sinatra) from 1.4.7 to 3.0.4. Changelog Sourced from sinatra's changelog. 3.0.4 / 2022-11-25 Fix: Escape filename in the Content-Disposition header. #1841 by Kunpei Sakai 3.0.3 / 2022-11-11 Fix: fixed...
Bumps [rdoc](https://github.com/ruby/rdoc) from 4.2.2 to 6.3.1. Changelog Sourced from rdoc's changelog. === 5.1.0 / 2017-02-24 Bug fixes Fix an issue that rdoc fails when running on Windows with RUBYOPT=-U. PR...
Bumps [rack](https://github.com/rack/rack) from 1.6.4 to 2.2.3. Commits 1741c58 bump version 5ccca47 When parsing cookies, only decode the values a5e80f0 Bump version. b0de37d Remove trailing whitespace. 1a784e5 Prepare CHANGELOG for next...
Bumps [rake](https://github.com/ruby/rake) from 11.1.2 to 12.3.3. Changelog *Sourced from [rake's changelog](https://github.com/ruby/rake/blob/master/History.rdoc).* > === 12.3.3 > > ==== Bug fixes > > * Use the application's name in error message if...
Bumps [rack-protection](https://github.com/sinatra/sinatra) from 1.5.3 to 2.0.7. Changelog *Sourced from [rack-protection's changelog](https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md).* > ## 2.0.7 / 2019-08-22 > > * Fix a regression [#1560](https://github-redirect.dependabot.com/sinatra/sinatra/pull/1560) by Kunpei Sakai > > ## 2.0.6...
Can you create git tags for the releases 0.4.3 and 0.4.4 on rubygems.org? It would be useful to compare what changes are in each version.
It looks like I can't pass in timeout parameter to mimic, server, wait_for_service. My usage is: Mimic.mimic(:port => testing_port) do post("/tasks").returning(nil, 204) end Any way I can pass in the...
I just wanted to ask if mimic is looking for a new maintainer to address the current open issues and pull requests. I, and some devs I work with, would...
Hello - Is there a way to redefine endpoints on subsequent calls to mimic? i.e., in one test : Mimic.mimic do get('test').returning('first value') next test : get('test').returning('second value') next test...
Example of a breaking test: it "should handle stubbed requests with query string that return a response" do @host.get("/some/path?foo=true&bah=abc").returning("hello world") @host.call(request_for("/some/path?foo=true&bah=abc")).should match_rack_response(200, {}, "hello world") end