test/test_leanback.rb in leanback-0.2.0 vs test/test_leanback.rb in leanback-0.2.1
- old
+ new
@@ -23,11 +23,11 @@
#puts hash.inspect
end
should "find items by key" do
docs = Couchdb.find_by( :database => 'contacts', :email => 'nancy@mail.com')
- puts docs.inspect
+ #puts docs.inspect
end
should "view document doc" do
doc = {:database => 'monitors', :doc_id => '3-d71c8ee21d6753896f2d08f57a985e94'}
@@ -37,10 +37,10 @@
should "Query a permanent view" do
view = { :database => "contacts", :design_doc => 'more_views', :view => 'get_email'}
puts 'viewing design doc...'
hash = Couchdb.find view
- #puts hash.inspect
+ puts hash.inspect
end
should "Create a design doc/permanent view" do
doc = { :database => 'contacts', :design_doc => 'more_views', :json_doc => '/home/obi/bin/leanback/test/my_views.json' }
hash = Couchdb.create_design doc