Sha256: 380e08d63b838237991f0349543f6d390ea86886274820c8e3e5f04a4f249bf6
Contents?: true
Size: 420 Bytes
Versions: 39
Compression:
Stored size: 420 Bytes
Contents
require 'spec_helper' describe "client" do it "recognizes the config_file parameter" do tempfile = Tempfile.new('ey-core') token = SecureRandom.hex(20) tempfile.write <<-EOF --- 'http://api-development.localdev.engineyard.com:9292/': #{token} EOF tempfile.rewind client = Ey::Core::Client.new(config_file: tempfile) expect(client.instance_variable_get(:@token)).to eq(token) end end
Version data entries
39 entries across 39 versions & 2 rubygems