Sha256: 4de2c68a818f7f753be8dcee06f9aee86fff61fa84d2cac83bdac5953033a88f
Contents?: true
Size: 919 Bytes
Versions: 1
Compression:
Stored size: 919 Bytes
Contents
#!/usr/bin/env bash curl -s 127.0.0.1:3001 > /dev/null curl 127.0.0.1:3001/reset-transaction curl -X POST \ -d '["test", { "name": "Test Name from Curl", "created_at": "2011-11-11 11:11:11" }]' \ -H 'Content-Type: application/json' \ 127.0.0.1:3001/factory-bot/create curl -X POST \ -d '["test", 3, { "name": "Test Name from Curl", "created_at": "2011-11-11 11:11:11" }]' \ -H 'Content-Type: application/json' \ 127.0.0.1:3001/factory-bot/create-list # With traits curl -X POST \ -d '["test", "trait1", { "name": "Test Name from Curl", "created_at": "2011-11-11 11:11:11" }]' \ -H 'Content-Type: application/json' \ 127.0.0.1:3001/factory-bot/create curl -X POST \ -d '["test", 3, "trait1", { "name": "Test Name from Curl", "created_at": "2011-11-11 11:11:11" }]' \ -H 'Content-Type: application/json' \ 127.0.0.1:3001/factory-bot/create-list
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
derail_specs-0.7.0 | example/tests.sh |