Sha256: 0fdc5eb194b8ba6a62afcf4d51d2b4d21ed34e3a3366748967a1f43f0504b652
Contents?: true
Size: 659 Bytes
Versions: 1
Compression:
Stored size: 659 Bytes
Contents
require 'spec_helper' describe Mugen::Account do before(:each) do Mugen.api_key = '6NO~NtyavKh@x-Uz@)0LG_PQ1KJI[(kd_2{oqv}H{ubO5Yu3is~IF^udRwM6QC6n' Mugen.private_key = 'w0F((zYj3=09(AD|2B7)jNT@5F[wajwk[6u^stF59wCfuCtwMEMB^c7y=5V~WM^K' @account = Mugen::Account end it "should retrieve stats" do stats = @account.stats stats.should be_a(Hash) stats.should have_key('credits_spent') stats.should have_key('user_since') end it "should retrieve balance" do balance = @account.balance balance.should be_a(Hash) balance.should have_key('credits') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mugen-0.2.1 | spec/account_spec.rb |