api_test_gem 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +7 -1
- data/VERSION +1 -1
- data/api_test_gem.gemspec +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
= api_test_gem
|
2
2
|
|
3
|
-
test API calls using curl
|
3
|
+
test API calls with json response using curl
|
4
|
+
|
5
|
+
before use: (all in working directory)
|
6
|
+
- write a yml for config named api_test_config.yml
|
7
|
+
- if necessary login with cookie named cookie_for_auth - example:
|
8
|
+
|
9
|
+
$ curl -H 'Content-Type: application/json' -H 'Accept: application/json' -X POST http://localhost:3000/users/sign_in -d "{'user' : { 'email' : 'test@example.com', 'password' : 'password'}}" -c cookie_for_auth
|
4
10
|
|
5
11
|
== Contributing to api_test_gem
|
6
12
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/api_test_gem.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_test_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jaqueline Wilde
|