Sha256: 04811e6ce75811f566e2bf612a4f8164202664a04b35ffaa6285ac06477ab7ff
Contents?: true
Size: 498 Bytes
Versions: 1
Compression:
Stored size: 498 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Marvel do describe '.new' do it 'returns a Marvel::Client' do expect(Marvel.new).to be_a Marvel::Client end end describe '.configure' do it 'sets the api_key and private_key' do Marvel.configure do |config| config.api_key = '1234' config.private_key = 'abcd' end expect(Marvel.api_key).to eq '1234' expect(Marvel.private_key).to eq 'abcd' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
marvel_api-0.2.1 | spec/marvel_api_spec.rb |