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