summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-12-02 11:31:20 +0100
committerAzul <azul@riseup.net>2016-12-02 11:31:20 +0100
commit396b34a52aa7594866fda090f1329827488e98bc (patch)
tree4bdc6764c41dfe2d97b3bfc23c4f1cb2d3efca11
parent244d8a4702f98619078c0e09e485d7e1944e5013 (diff)
cleanup: old empty adapters and tests
-rw-r--r--lib/nickserver/adapters/local.rb8
-rw-r--r--lib/nickserver/adapters/remote.rb4
-rw-r--r--test/unit/adapters/couch_db.rb15
-rw-r--r--test/unit/adapters/local_test.rb5
4 files changed, 0 insertions, 32 deletions
diff --git a/lib/nickserver/adapters/local.rb b/lib/nickserver/adapters/local.rb
deleted file mode 100644
index d6210c3..0000000
--- a/lib/nickserver/adapters/local.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-require 'nickserver/adapters'
-
-class Nickserver::Adapters::Local
-
- def query(nick)
- end
-
-end
diff --git a/lib/nickserver/adapters/remote.rb b/lib/nickserver/adapters/remote.rb
deleted file mode 100644
index e12bd26..0000000
--- a/lib/nickserver/adapters/remote.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-require 'nickserver/adapters'
-
-class Nickserver::Adapters::Remote
-end
diff --git a/test/unit/adapters/couch_db.rb b/test/unit/adapters/couch_db.rb
deleted file mode 100644
index 339e4f4..0000000
--- a/test/unit/adapters/couch_db.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-require 'testhelper'
-require 'nickserver/adapters/couch_db'
-
-class Nickserver::Adapters::CouchDBTest < Minitest::Test
-
- def test_query_404
- adapter.query(nil) do |status, content|
- assert_equal 404, status
- end
- end
-
- def adapter
- @adapter ||= Nickserver::Adapters::CouchDB.new
- end
-end
diff --git a/test/unit/adapters/local_test.rb b/test/unit/adapters/local_test.rb
deleted file mode 100644
index 97d394f..0000000
--- a/test/unit/adapters/local_test.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-require 'test_helper'
-require 'nickserver/adapters/local'
-
-class Nickserver::Adapters::LocalTest < Minitest::Test
-end