Sha256: 95f13ab787a06cb9753b9739fb089c88b1073344a054ce945f1212b4d92adaf5
Contents?: true
Size: 965 Bytes
Versions: 1
Compression:
Stored size: 965 Bytes
Contents
# Author:: Couchbase <info@couchbase.com> # Copyright:: 2011, 2012 Couchbase, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # require File.join(File.dirname(__FILE__), 'setup') class TestCouchbase < MiniTest::Unit::TestCase def test_that_it_create_instance_of_bucket with_mock do |mock| assert_instance_of Couchbase::Bucket, Couchbase.new("http://localhost:#{mock.port}/pools/default") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
couchbase-1.0.0 | test/test_couchbase.rb |