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

Version Path
looksist-0.3.12 spec/spec_helper.rb
looksist-0.3.11 spec/spec_helper.rb
looksist-0.3.10 spec/spec_helper.rb
looksist-0.3.9 spec/spec_helper.rb
looksist-0.3.8 spec/spec_helper.rb
looksist-0.3.7 spec/spec_helper.rb
looksist-0.3.6 spec/spec_helper.rb
looksist-0.3.5 spec/spec_helper.rb
looksist-0.3.4 spec/spec_helper.rb
looksist-0.3.3 spec/spec_helper.rb
looksist-0.3.2 spec/spec_helper.rb
looksist-0.3.1 spec/spec_helper.rb
looksist-0.3.0 spec/spec_helper.rb
looksist-0.2.10 spec/spec_helper.rb
looksist-0.2.9 spec/spec_helper.rb
looksist-0.2.8 spec/spec_helper.rb
looksist-0.2.7 spec/spec_helper.rb