Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Require test_helper.

  • Loading branch information...
commit 165983d1f2206eab49752948dadcf818ddb05a81 1 parent cc3511a
@dgraham dgraham authored
Showing with 28 additions and 66 deletions.
  1. +1 −2  test/cluster/publisher_test.rb
  2. +1 −3 test/cluster/subscriber_test.rb
  3. +1 −3 test/config/host_test.rb
  4. +1 −4 test/config/pubsub_test.rb
  5. +1 −3 test/stanza/iq/session_test.rb
  6. +1 −4 test/stanza/presence/probe_test.rb
  7. +1 −2  test/storage/couchdb_test.rb
  8. +1 −2  test/storage/ldap_test.rb
  9. +1 −3 test/storage/local_test.rb
  10. +1 −2  test/storage/mongodb_test.rb
  11. +1 −2  test/storage/null_test.rb
  12. +1 −2  test/storage/redis_test.rb
  13. +1 −2  test/storage/sql_test.rb
  14. +1 −3 test/storage/storage_tests.rb
  15. +1 −2  test/storage_test.rb
  16. +1 −2  test/store_test.rb
  17. +1 −2  test/stream/client/ready_test.rb
  18. +1 −2  test/stream/component/handshake_test.rb
  19. +1 −2  test/stream/component/start_test.rb
  20. +1 −2  test/stream/http/auth_test.rb
  21. +1 −3 test/stream/http/request_test.rb
  22. +1 −2  test/stream/http/sessions_test.rb
  23. +1 −2  test/stream/http/start_test.rb
  24. +1 −2  test/stream/parser_test.rb
  25. +1 −2  test/stream/server/outbound/auth_test.rb
  26. +1 −2  test/stream/server/ready_test.rb
  27. +1 −2  test/token_bucket_test.rb
  28. +1 −2  test/user_test.rb
View
3  test/cluster/publisher_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class ClusterPublisherTest < MiniTest::Unit::TestCase
def setup
View
4 test/cluster/subscriber_test.rb
@@ -1,8 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'ext/nokogiri'
-require 'minitest/autorun'
+require 'test_helper'
class ClusterSubscriberTest < MiniTest::Unit::TestCase
def setup
View
4 test/config/host_test.rb
@@ -1,8 +1,6 @@
# encoding: UTF-8
-require 'tmpdir'
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class HostTest < MiniTest::Unit::TestCase
def test_missing_storage
View
5 test/config/pubsub_test.rb
@@ -1,9 +1,6 @@
# encoding: UTF-8
-require 'tmpdir'
-require 'vines'
-require 'ext/nokogiri'
-require 'minitest/autorun'
+require 'test_helper'
class ConfigPubSubTest < MiniTest::Unit::TestCase
def setup
View
4 test/stanza/iq/session_test.rb
@@ -1,8 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'ext/nokogiri'
-require 'minitest/autorun'
+require 'test_helper'
class SessionTest < MiniTest::Unit::TestCase
def test_session
View
5 test/stanza/presence/probe_test.rb
@@ -1,9 +1,6 @@
# encoding: UTF-8
-require 'tmpdir'
-require 'vines'
-require 'ext/nokogiri'
-require 'minitest/autorun'
+require 'test_helper'
class ProbeTest < MiniTest::Unit::TestCase
def setup
View
3  test/storage/couchdb_test.rb
@@ -1,8 +1,7 @@
# encoding: UTF-8
require 'storage_tests'
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class CouchDBTest < MiniTest::Unit::TestCase
include StorageTests
View
3  test/storage/ldap_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
describe Vines::Storage::Ldap do
ALICE_DN = 'uid=alice@wondlerand.lit,ou=People,dc=wonderland,dc=lit'
View
4 test/storage/local_test.rb
@@ -1,9 +1,7 @@
# encoding: UTF-8
require 'storage_tests'
-require 'tmpdir'
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class LocalTest < MiniTest::Unit::TestCase
include StorageTests
View
3  test/storage/mongodb_test.rb
@@ -2,8 +2,7 @@
require 'mock_mongo'
require 'storage_tests'
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class MongoDBTest < MiniTest::Unit::TestCase
include StorageTests
View
3  test/storage/null_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class NullStorageTest < MiniTest::Unit::TestCase
def setup
View
3  test/storage/redis_test.rb
@@ -2,8 +2,7 @@
require 'mock_redis'
require 'storage_tests'
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class RedisTest < MiniTest::Unit::TestCase
include StorageTests
View
3  test/storage/sql_test.rb
@@ -1,8 +1,7 @@
# encoding: UTF-8
require 'storage_tests'
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class SqlTest < MiniTest::Unit::TestCase
include StorageTests
View
4 test/storage/storage_tests.rb
@@ -1,8 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'ext/nokogiri'
-require 'minitest/autorun'
+require 'test_helper'
# Mixin methods for storage implementation test classes. The behavioral
# tests are the same regardless of implementation so share those methods
View
3  test/storage_test.rb
@@ -1,8 +1,7 @@
# encoding: UTF-8
require 'storage_tests'
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
describe Vines::Storage do
ALICE = 'alice@wonderland.lit'.freeze
View
3  test/store_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
describe Vines::Store do
before do
View
3  test/stream/client/ready_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class ClientReadyTest < MiniTest::Unit::TestCase
STANZAS = []
View
3  test/stream/component/handshake_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class HandshakeTest < MiniTest::Unit::TestCase
def setup
View
3  test/stream/component/start_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class ComponentStartTest < MiniTest::Unit::TestCase
def setup
View
3  test/stream/http/auth_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class HttpAuthTest < MiniTest::Unit::TestCase
def setup
View
4 test/stream/http/request_test.rb
@@ -1,8 +1,6 @@
# encoding: UTF-8
-require 'tmpdir'
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
describe Vines::Stream::Http::Request do
PASSWORD = File.expand_path('../passwords')
View
3  test/stream/http/sessions_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class SessionsTest < MiniTest::Unit::TestCase
class MockSessions < Vines::Stream::Http::Sessions
View
3  test/stream/http/start_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class HttpStartTest < MiniTest::Unit::TestCase
def setup
View
3  test/stream/parser_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class ParserTest < MiniTest::Unit::TestCase
STREAM_START = '<stream:stream to="wonderland.lit" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams">'.freeze
View
3  test/stream/server/outbound/auth_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class OutboundAuthTest < MiniTest::Unit::TestCase
def setup
View
3  test/stream/server/ready_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class ServerReadyTest < MiniTest::Unit::TestCase
STANZAS = []
View
3  test/token_bucket_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class TokenBucketTest < MiniTest::Unit::TestCase
def test_init
View
3  test/user_test.rb
@@ -1,7 +1,6 @@
# encoding: UTF-8
-require 'vines'
-require 'minitest/autorun'
+require 'test_helper'
class UserTest < MiniTest::Unit::TestCase
def test_equality
Please sign in to comment.
Something went wrong with that request. Please try again.