Sha256: d8bf60a4a46c5f784dad42dc04424574ecc9e644c0e5b4b67ed1bfec60b58f31

Contents?: true

Size: 254 Bytes

Versions: 123

Compression:

Stored size: 254 Bytes

Contents

module Shindo
  class Tests

    def responds_to(method_names)
      for method_name in [*method_names]
        tests("#respond_to?(:#{method_name})").returns(true) do
          @instance.respond_to?(method_name)
        end
      end
    end

  end
end

Version data entries

123 entries across 123 versions & 20 rubygems

Version Path
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
fog-1.1.2 tests/helpers/responds_to_helper.rb
fog_tractical-1.1.4 tests/helpers/responds_to_helper.rb
fog_tractical-1.1.3 tests/helpers/responds_to_helper.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
fog-1.1.1 tests/helpers/responds_to_helper.rb
fog-1.1.0 tests/helpers/responds_to_helper.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
tag-fog-1.0.1 tests/helpers/responds_to_helper.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
fog-1.0.0 tests/helpers/responds_to_helper.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
fog-0.11.0 tests/helpers/responds_to_helper.rb
fog-0.10.0 tests/helpers/responds_to_helper.rb
fog4encbs-0.9.0.1 tests/helpers/responds_to_helper.rb