Sha256: 49f1a568028aa4d9b49ff189159498e99814645fc574e27ce1ada3f46d590dd4
Contents?: true
Size: 778 Bytes
Versions: 14
Compression:
Stored size: 778 Bytes
Contents
# frozen_string_literal: true require 'test_helper' module Vedeu module DSL describe Geometry do # describe '#geometry' do # context 'when the required block is not given' do # subject { instance.geometry } # it { proc { subject }.must_raise(Vedeu::Error::RequiresBlock) } # end # context 'when the block is given' do # subject { instance.geometry { } } # context 'when the name is not given' do # it 'uses the name of the model' do # # @todo Add more tests. # end # end # context 'when the name is given' do # # @todo Add more tests. # end # end # end end # Geometry end # DSL end # Vedeu
Version data entries
14 entries across 14 versions & 1 rubygems