Ring-Mock has moved to: https://github.com/ring-clojure/ring-mock
Ring-Mock has been moved to the Ring GitHub organization. This repository will no longer be updated, so please update your bookmarks and GitHub watches.
Library to create mock ring requests for unit tests
Home Page: http://weavejester.github.com/ring-mock
Ring-Mock has been moved to the Ring GitHub organization. This repository will no longer be updated, so please update your bookmarks and GitHub watches.
Running tests with *warn-on-reflection*
generates a warning:
Reflection warning, ring/mock/request.clj:63:17 - reference to field getBytes can't be resolved.
ring-mock version is 0.1.5
Thanks!
I'd like to make Ring-Mock an official Ring library, but for consistency's sake I'd like to change Ring-Mock's license from EPL to MIT.
@aredington, @neatonk, @timewald, @glenjamin and @senior, could I get each of your permissions to release your additions to Ring Mock under the MIT license?
(I was originally intending to coordinate this via email, but not everyone involved has a public email, so my apologies for the duplication, @senior.)
here http://weavejester.github.io/ring-mock/ring.mock.request.html#var-request it says
Create a minimal valid request map from a HTTP method keyword, a string
containing a URI, and an optional map of parameters that will be added to
the query string of the URI. The URI can be relative or absolute. Relative
URIs are assumed to go to http://localhost.
but
user=> (:query-string (req/request :delete "/foo" {:id 4}))
nil
user=> (slurp (:body (req/request :delete "/foo" {:id 4})))
"id=4"
with this it works
user=> (:query-string (req/query-string (req/request :delete "/foo" {:id 4}) {:id 4}))
"id=4"
is the doc wrong, the code wrong or am I wrong? :)
How to submit file as multipart POST data in request?
See title.
I believe this is because it's still registered as a fork.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.