We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b698789 commit a7ff8fdCopy full SHA for a7ff8fd
mongo-manager.gemspec
@@ -18,4 +18,6 @@ Gem::Specification.new do |s|
18
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
s.rdoc_options = ["--charset=UTF-8"]
20
s.require_path = "lib"
21
+
22
+ s.add_dependency 'mongo', '~> 2.0'
23
end
spec/integration/init_spec.rb
@@ -0,0 +1,19 @@
1
+require 'spec_helper'
2
3
+describe 'init' do
4
+ let(:executor) do
5
+ MongoManager::Executor.new(options)
6
+ end
7
8
+ context 'single' do
9
+ let(:options) do
10
+ {
11
+ dir: '/tmp/db',
12
+ }
13
14
15
+ it 'starts' do
16
+ executor.init
17
+end
spec/spec_helper.rb
@@ -0,0 +1 @@
+require 'mongo_manager'
0 commit comments