Sha256: 2c84fd81fbef03d075b31a877a57bd4b097ad0e7eb41b7a2f314037a27858234
Contents?: true
Size: 552 Bytes
Versions: 9
Compression:
Stored size: 552 Bytes
Contents
require "spec_helper" module Twitchus describe Config do let(:config) { Config.new } it "load config with multiple streams" do file =<<YAML streams: - scvrush1 - scvrush2 YAML File.write("./tmp/config.yml", file) config.load("./tmp/config.yml") config.streams.should == %w{scvrush1 scvrush2} end it "loads client key" do file =<<YAML client_key: foo YAML File.write("./tmp/config.yml", file) config.load("./tmp/config.yml") config.client_key.should == "foo" end end end
Version data entries
9 entries across 9 versions & 1 rubygems