Sha256: 811d65d3766c55b35e1a4788a8f09d9215a532400a872ab0cf5bbdc723789cd8
Contents?: true
Size: 556 Bytes
Versions: 21
Compression:
Stored size: 556 Bytes
Contents
require File.dirname(__FILE__) + '/helper' class TestEngine < Test::Unit::TestCase def setup end def test_initialization # assert Gattica.new({:email => 'anonymous@anon.com', :password => 'none'}) # you can initialize with a potentially invalid email and password assert Gattica.new({:token => 'test'}) # you can initialize with a potentially invalid token assert_raise GatticaError::NoLoginOrToken do Gattica.new() end # but, you must initialize with one or the other end end
Version data entries
21 entries across 21 versions & 6 rubygems