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

Version Path
looksist-0.1.9 spec/spec_helper.rb
looksist-0.1.8 spec/spec_helper.rb
looksist-0.1.7 spec/spec_helper.rb
looksist-0.1.6 spec/spec_helper.rb
looksist-0.1.5 spec/spec_helper.rb
looksist-0.1.4 spec/spec_helper.rb
looksist-0.1.3 spec/spec_helper.rb
looksist-0.1.2 spec/spec_helper.rb
looksist-0.1.1 spec/spec_helper.rb
looksist-0.1.0 spec/spec_helper.rb