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-core-1.24.0 lib/fog/test_helpers/responds_to_helper.rb
fog-core-1.23.0 lib/fog/test_helpers/responds_to_helper.rb
fog-softlayer-0.2.1 tests/helpers/responds_to_helper.rb
fog-softlayer-0.1.1 tests/helpers/responds_to_helper.rb
fog-softlayer-0.1.0 tests/helpers/responds_to_helper.rb
fog-softlayer-0.0.9 tests/helpers/responds_to_helper.rb
fog-softlayer-0.0.8 tests/helpers/responds_to_helper.rb
fog-softlayer-0.0.7 tests/helpers/responds_to_helper.rb
fog-softlayer-0.0.5 tests/helpers/responds_to_helper.rb
fog-1.22.0 tests/helpers/responds_to_helper.rb
fog-core-1.22.0 lib/fog/test_helpers/responds_to_helper.rb
fog-1.21.0 tests/helpers/responds_to_helper.rb
fog-core-1.21.1 lib/fog/test_helpers/responds_to_helper.rb
fog-maestrodev-1.20.0.20140305101839 tests/helpers/responds_to_helper.rb
fog-maestrodev-1.20.0.20140305101305 tests/helpers/responds_to_helper.rb
fog-core-1.21.0 lib/fog/test_helpers/responds_to_helper.rb
fog-maestrodev-1.19.0.20140212012611 tests/helpers/responds_to_helper.rb
fog-1.20.0 tests/helpers/responds_to_helper.rb
fog-maestrodev-1.19.0.20140110004459 tests/helpers/responds_to_helper.rb
fog-maestrodev-1.19.0.20140110003812 tests/helpers/responds_to_helper.rb