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
fog-maestrodev-1.8.0.20130111070250 tests/helpers/responds_to_helper.rb
fog-maestrodev-1.8.0.20130109172219 tests/helpers/responds_to_helper.rb
fog-sgonyea-1.8.1 tests/helpers/responds_to_helper.rb
fog-1.8.0 tests/helpers/responds_to_helper.rb
fog-maestrodev-1.7.0.20121114190951 tests/helpers/responds_to_helper.rb
fog-1.7.0 tests/helpers/responds_to_helper.rb
fog-1.6.0 tests/helpers/responds_to_helper.rb
fog-1.5.0 tests/helpers/responds_to_helper.rb
rackspace-fog-1.4.2 tests/helpers/responds_to_helper.rb
fog-1.4.0 tests/helpers/responds_to_helper.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
michiels-fog-1.3.1 tests/helpers/responds_to_helper.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/tests/helpers/responds_to_helper.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
fog-1.3.1 tests/helpers/responds_to_helper.rb
fog-1.3.0 tests/helpers/responds_to_helper.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb
fog-1.2.0 tests/helpers/responds_to_helper.rb
ktheory-fog-1.1.2 tests/helpers/responds_to_helper.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/tests/helpers/responds_to_helper.rb