Sha256: 4b885b309de39b3d5158c6f633f94668fbce84343526d6f29ac56977e387a32d
Contents?: true
Size: 378 Bytes
Versions: 1
Compression:
Stored size: 378 Bytes
Contents
module ClientHelper def create_client(options={}) client_options = {} client_options.merge!(token: options[:token] || File.read(File.expand_path("../../../.assemble", __FILE__)).strip) client_options.merge!(logger: Logger.new(STDOUT)) if ENV["VERBOSE"] Assemble::Client.new(client_options) end end RSpec.configure { |config| config.include(ClientHelper) }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
assemble-0.0.1 | spec/support/client_helper.rb |