Sha256: 76268ec982a88da9da05d2d5ca25943d9b3e2ece86b1cb7e297aa023352dec7b

Contents?: true

Size: 941 Bytes

Versions: 4

Compression:

Stored size: 941 Bytes

Contents

# frozen_string_literal: true
# encoding: utf-8

# Copyright (C) 2014-2020 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(expectations_bson_types: true)
        @tests.map do |test|
          Mongo::Transactions::TransactionsTest.new(self, @data, test, expectations_bson_types: expectations_bson_types)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mongo-2.18.3 spec/runners/transactions/spec.rb
mongo-2.18.2 spec/runners/transactions/spec.rb
mongo-2.18.1 spec/runners/transactions/spec.rb
mongo-2.18.0 spec/runners/transactions/spec.rb