Sha256: a161e3b6b10ff973ba2a7b3f55bc59a73cc0a547413ad528c958d6bf13be4800

Contents?: true

Size: 848 Bytes

Versions: 6

Compression:

Stored size: 848 Bytes

Contents

# Copyright (C) 2014-2019 MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

module Mongo
  module Transactions

    class Spec < Mongo::CRUD::Spec
      def tests
        @tests.map do |test|
          lambda do
            Mongo::Transactions::TransactionsTest.new(@data, test, self)
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mongo-2.9.2 spec/support/transactions/spec.rb
mongo-2.9.1 spec/support/transactions/spec.rb
mongo-2.9.1.rc0 spec/support/transactions/spec.rb
mongo-2.9.0 spec/support/transactions/spec.rb
mongo-2.9.0.rc1 spec/support/transactions/spec.rb
mongo-2.9.0.rc0 spec/support/transactions/spec.rb