Sha256: 1c3a90635b51ce657163b6198ec0a0652dbcbde049260dc4653a4be71dc35940
Contents?: true
Size: 308 Bytes
Versions: 7
Compression:
Stored size: 308 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe CouchTomato::View::ViewQuery, 'query_view' do it "should not pass a key if conditions are empty" do db = mock 'db' db.should_receive(:view).with(anything, {}) CouchTomato::View::ViewQuery.new(db, '', '', '', '').query_view! end end
Version data entries
7 entries across 7 versions & 1 rubygems