Sha256: 5e2e41470b6eef315beab1921c591589713f3c90b5e6dd75d58be51781c1d7b3

Contents?: true

Size: 248 Bytes

Versions: 16

Compression:

Stored size: 248 Bytes

Contents

module Shindo
  class Tests

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

  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
fog-0.8.1 tests/helpers/responds_to_helper.rb
fog-0.8.0 tests/helpers/responds_to_helper.rb
fog-0.7.2 tests/helpers/responds_to_helper.rb
fog-0.7.1 tests/helpers/responds_to_helper.rb
fog-0.7.0 tests/helpers/responds_to_helper.rb
fog-0.6.0 tests/helpers/responds_to_helper.rb
fog-0.5.3 tests/helpers/responds_to_helper.rb
fog-0.5.2 tests/helpers/responds_to_helper.rb
fog-0.5.1 tests/helpers/responds_to_helper.rb
fog-0.5.0 tests/helpers/responds_to_helper.rb
phpfog-fog-0.4.1.3 tests/helpers/responds_to_helper.rb
phpfog-fog-0.4.1.2 tests/helpers/responds_to_helper.rb
phpfog-fog-0.4.1.1 tests/helpers/responds_to_helper.rb
phpfog-fog-0.4.1 tests/helpers/responds_to_helper.rb
fog-0.4.1 tests/helpers/responds_to_helper.rb
fog-0.4.0 tests/helpers/responds_to_helper.rb