Sha256: f11ec07db6d96a4184e84b98fbed7265748d7367cff56f766557f20c8541de9e

Contents?: true

Size: 428 Bytes

Versions: 36

Compression:

Stored size: 428 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../test_helper')

Expectations do
  expect [:c, :b, :a] do
    a = Class.new do
      include Validatable::Understandable
      understands :a
    end
    b = Class.new(a) do
      include Validatable::Understandable
      understands :b
    end
    c = Class.new(b) do
      include Validatable::Understandable
      understands :c
    end
    c.all_understandings
  end
end

Version data entries

36 entries across 36 versions & 11 rubygems

Version Path
hashrocket-validatable-1.7.2 test/unit/test_understandable.rb
hashrocket-validatable-1.7.4 test/unit/test_understandable.rb
jnunemaker-validatable-1.7.0 test/unit/test_understandable.rb
jnunemaker-validatable-1.7.1 test/unit/test_understandable.rb
jnunemaker-validatable-1.7.2 test/unit/test_understandable.rb
ramsingla-validatable-1.7.2 test/unit/test_understandable.rb
ramsingla-validatable-1.7.3 test/unit/test_understandable.rb
vizjerai-validatable-1.8.0 test/unit/test_understandable.rb
vizjerai-validatable-1.9.0 test/unit/test_understandable.rb
lgustafson-validatable-1.8.7 test/unit/test_understandable.rb
lgustafson-validatable-1.8.6 test/unit/test_understandable.rb
np422-validatable-1.8.5 test/unit/test_understandable.rb
erotte-validatable-1.8.5 test/unit/test_understandable.rb
mattmatt-validatable-1.8.4 test/unit/test_understandable.rb
mattmatt-validatable-1.8.3 test/unit/test_understandable.rb
jnunemaker-validatable-1.8.4 test/unit/test_understandable.rb
jnunemaker-validatable-1.8.3 test/unit/test_understandable.rb
jnunemaker-validatable-1.8.2 test/unit/test_understandable.rb
jnunemaker-validatable-1.1.10 test/unit/test_understandable.rb
jnunemaker-validatable-1.1.9 test/unit/test_understandable.rb