Sha256: fdcef42f8b0646cec72e778540fc6467ebfd94d21b08680d59d1db678e5268e6
Contents?: true
Size: 504 Bytes
Versions: 1
Compression:
Stored size: 504 Bytes
Contents
require 'active_support/all' require 'faraday_middleware' require 'her' require 'looksist' require 'pry' module Her module Model def as_json(opts={}) attributes end end end TEST_API = Her::API.new config = Proc.new do |conn| conn.use FaradayMiddleware::EncodeJson conn.use Faraday::Request::UrlEncoded conn.use Her::Middleware::DefaultParseJSON conn.use Faraday::Adapter::NetHttp conn.use Faraday::Response::RaiseError end TEST_API.setup url: 'http://dummy.com', &config
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
looksist-0.0.1 | spec/spec_helper.rb |