Sha256: 23077437660c24833212686654185b276bdd12b7487a6f37e6a9e0c664dbaeed
Contents?: true
Size: 582 Bytes
Versions: 10
Compression:
Stored size: 582 Bytes
Contents
require 'spec_helper' describe MarkLogic::Forest do describe "#init" do let(:forest) do MarkLogic::Forest.new("marklogic-gem-test") end it "should create accessors" do expect(forest.forest_name).to eq("marklogic-gem-test") end end describe "#create" do before do @forest = MarkLogic::Forest.new("marklogic-gem-test") end it "should create a forest" do expect(@forest).to_not be_exists @forest.create expect(@forest).to be_exists @forest.drop expect(@forest).to_not be_exists end end end
Version data entries
10 entries across 10 versions & 1 rubygems