require 'spec_helper'

describe 'mongodb_collection create' do

  describe command('mongo testdb --quiet --host localhost --port 27017 --eval "printjson(db.getCollection(\'mycollection\').stats())"') do
    its(:stdout) { should match /"ns" : "testdb.mycollection"/ }
    its(:stdout) { should_not match /"sharded" :/ }
  end
end
