Sha256: 502b7194c1b9579926044abf8b81e678e6babc0787ae938439b2c50c46029327
Contents?: true
Size: 374 Bytes
Versions: 5
Compression:
Stored size: 374 Bytes
Contents
require 'minitest/autorun' require 'coder_wally/account' describe 'Account' do it 'creates an account object with dynamic attributes' do json_parsed = { 'github' => 'gregstewart', 'twitter' => '_greg_stewart_' } account = CoderWally::Account.new(json_parsed) account.github.must_equal 'gregstewart' account.twitter.must_equal '_greg_stewart_' end end
Version data entries
5 entries across 5 versions & 1 rubygems