Sha256: 587eef1ff8275bda50e219348445ba8673fdd5c3c7de2c28f7f71e3807b7f915
Contents?: true
Size: 436 Bytes
Versions: 3
Compression:
Stored size: 436 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ey-core-3.6.6 | spec/client_spec.rb |
ey-core-3.4.5 | spec/client_spec.rb |
ey-core-3.6.5 | spec/client_spec.rb |