Sha256: 88a6740ea6e806b03b332f11ac6e68664ad4258e06b2a4a118211b91de462e54
Contents?: true
Size: 778 Bytes
Versions: 5
Compression:
Stored size: 778 Bytes
Contents
require 'spec_helper' module FirebaseIdToken describe Configuration do describe '.project_ids' do it 'sets [] as default' do expect(Configuration.new.project_ids).to eq([]) end end describe '.project_ids=' do it 'changes default values' do config = Configuration.new config.project_ids = String.new expect(config.project_ids).to be_a(String) end end describe '.redis' do it 'sets a Redis instance as default' do expect(Configuration.new.redis).to be_a(Redis) end end describe '.redis=' do it 'changes default values' do config = Configuration.new config.redis = String.new expect(config.redis).to be_a(String) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems