Sha256: fac496566f8ba3b51f0802894c6178d25267ad2e78fdb25250e520365ad6ea0d

Contents?: true

Size: 217 Bytes

Versions: 8

Compression:

Stored size: 217 Bytes

Contents

require 'spec_helper'

describe Xhash do
  describe '.config' do
    it 'sets the api key initializer style' do
      Xhash.config { |c| c.api_key = 'abc' }

      expect(Xhash.api_key).to eq('abc')
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xhash_client-0.3.8 spec/xhash_ruby_spec.rb
xhash_client-0.3.7 spec/xhash_ruby_spec.rb
xhash_client-0.3.6 spec/xhash_ruby_spec.rb
xhash_client-0.3.5 spec/xhash_ruby_spec.rb
xhash_client-0.3.4 spec/xhash_ruby_spec.rb
xhash_client-0.3.3 spec/xhash_ruby_spec.rb
xhash_client-0.3.2 spec/xhash_ruby_spec.rb
xhash_client-0.3.1 spec/xhash_ruby_spec.rb