Sha256: 7e3cfeb3af36669b3a973f4c6ebc3c810c6d8a159ebf702f60f070523a8bdf26

Contents?: true

Size: 322 Bytes

Versions: 2

Compression:

Stored size: 322 Bytes

Contents

require 'test_helper'

class TestSession < MiniTest::Unit::TestCase
  def setup
    @coop = Coop.new("test@example.com", "password")
  end
  
  def test_new_is_session
    assert_instance_of Coop::Session, @coop
  end
  
  def test_group
    @group = @coop.group(12345)
    assert_instance_of Coop::Group, @group
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coop-1.0.1 test/coop/test_session.rb
coop-1.0.0 test/coop/test_session.rb