Sha256: 87ffb03c7b3168495ecbc6d84b9b170881dbf0ba8f8ec4fa1cf8b481814a4ebb

Contents?: true

Size: 499 Bytes

Versions: 28

Compression:

Stored size: 499 Bytes

Contents

require 'test_helper'

module Vedeu

  describe Registerable do

    class RegisterableTestClass

      include Vedeu::Registerable

      null Vedeu::ModelTestClass

    end

    describe '.included' do
      it { RegisterableTestClass.must_respond_to(:null) }
    end

    describe '.null' do
      subject { RegisterableTestClass.new }

      it { subject.must_respond_to(:null_model) }
      it { subject.null_model.must_equal(Vedeu::ModelTestClass) }
    end

  end # Registerable

end # Vedeu

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
vedeu-0.4.46 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.45 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.44 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.43 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.42 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.41 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.40 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.39 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.38 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.37 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.36 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.35 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.34 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.33 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.32 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.31 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.30 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.29 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.28 test/lib/vedeu/repositories/registerable_test.rb
vedeu-0.4.27 test/lib/vedeu/repositories/registerable_test.rb