diff options
-rw-r--r-- | lib/nickserver/adapters/local.rb | 8 | ||||
-rw-r--r-- | lib/nickserver/adapters/remote.rb | 4 | ||||
-rw-r--r-- | test/unit/adapters/couch_db.rb | 15 | ||||
-rw-r--r-- | test/unit/adapters/local_test.rb | 5 |
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 |