lib/assert/context/subject_dsl.rb in assert-2.17.0 vs lib/assert/context/subject_dsl.rb in assert-2.18.0
- old
+ new
@@ -1,10 +1,8 @@
module Assert; end
class Assert::Context
-
module SubjectDSL
-
# Add a piece of description text or return the full description for the context
def description(text = nil)
if text
self.descriptions << text.to_s
else
@@ -29,9 +27,7 @@
protected
def descriptions
@descriptions ||= []
end
-
end
-
end