Sha256: a12d791d1ab2c82a8f92a11762c8b91a9669cfe1409e9362b92ceb5df3c9952e
Contents?: true
Size: 536 Bytes
Versions: 15
Compression:
Stored size: 536 Bytes
Contents
require 'spec_helper' describe Emojidex::Client do describe 'initialize' do it 'sets default host' do client = Emojidex::Client.new expect(client.host).to eq 'https://www.emojidex.com/' end it 'sets custom host' do client = Emojidex::Client.new(host: 'example.com') expect(client.host).to eq 'example.com' end end describe 'user_agent' do it 'sets user_agent' do client = Emojidex::Client.new expect(client.user_agent).to eq 'Emojidex Toolkit Client' end end end
Version data entries
15 entries across 15 versions & 1 rubygems