Sha256: 2c5f26c8f772bbf7c82ea967cdb3af9d94d686fcc9d41de2a0789d03e84b469b
Contents?: true
Size: 355 Bytes
Versions: 12
Compression:
Stored size: 355 Bytes
Contents
require_relative "spec_helper" describe "all assertions" do all_classes = ObjectSpace.each_object(Class).select { |klass| klass < YSI::Assertion } all_classes.each do |assertion_class| describe assertion_class do it_behaves_like "an assertion" do let(:assertion) {assertion_class.new(YSI::Engine.new) } end end end end
Version data entries
12 entries across 12 versions & 1 rubygems