Sha256: 98d119d91ce05bb59b0c1446c561b33c8d120a3ebb38f1625a1799f257b67a2b
Contents?: true
Size: 445 Bytes
Versions: 2
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true module Fix module Error # Error raised when attempting to test a specification without providing a subject block class MissingSubjectBlock < ::ArgumentError MISSING_BLOCK_ERROR = "Subject block is required for testing a specification. " \ "Use: test { subject } or match? { subject }" def initialize super(MISSING_BLOCK_ERROR) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fix-0.21 | lib/fix/error/missing_subject_block.rb |
fix-0.20 | lib/fix/error/missing_subject_block.rb |