Sha256: 72dc9767dd5f70a9bd843bd63dae3b71e2e7df816c170f9fc6dddf722e18b15f
Contents?: true
Size: 809 Bytes
Versions: 17
Compression:
Stored size: 809 Bytes
Contents
require 'active_support/all' require 'her' require 'faraday' require 'ostruct' require 'pry' require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start do add_filter '/spec/' add_filter '/features/' end require 'looksist' require 'looksist/redis_service' require 'looksist/hashed' require 'looksist/safe_lru_cache' module Her module Model def as_json(opts={}) attributes end end end TEST_API = Her::API.new config = Proc.new do |conn| 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
17 entries across 17 versions & 1 rubygems