summaryrefslogtreecommitdiff
path: root/test/unit/adapters/couch_db.rb
blob: 339e4f46733582c5fc7e76c9ee2c5d4f28630415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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