Sha256: 263ca16354882d5d6ea5b68909185f2bc292b936e17cef7dd2766c9b1e6eb039
Contents?: true
Size: 648 Bytes
Versions: 10
Compression:
Stored size: 648 Bytes
Contents
require 'active_support/all' require 'faraday_middleware' require 'her' require 'ostruct' require 'looksist' require 'looksist/redis_service' require 'looksist/hashed' require 'looksist/safe_lru_cache' 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 RSpec.configure do |config| end
Version data entries
10 entries across 10 versions & 1 rubygems