Sha256: da1e7a7fa97cc42751c093c0b0dcb7912c688f0c7e94ea521169844baf98dc41

Contents?: true

Size: 334 Bytes

Versions: 5

Compression:

Stored size: 334 Bytes

Contents

Class.new(Test::Unit::TestCase) do
  context 'with username and password configured' do
    setup do
      assert( Gnip.username = ENV['GNIP_USERNAME'] )
      assert( Gnip.password = ENV['GNIP_PASSWORD'] )
    end

    should 'be able to do an authenticated ping' do
      assert_nothing_raised{ assert Gnip.ping }
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
gnip-gnip-1.1.1 test/integration/auth.rb
gnip-0.4.2 test/integration/auth.rb
gnip-1.1.1 test/integration/auth.rb
gnip-1.1.2 test/integration/auth.rb
gnip-1.0.0 test/integration/auth.rb