test/unit/context/subject_dsl_tests.rb in assert-2.16.5 vs test/unit/context/subject_dsl_tests.rb in assert-2.17.0
- old
+ new
@@ -1,7 +1,7 @@
-require 'assert'
-require 'assert/context/subject_dsl'
+require "assert"
+require "assert/context/subject_dsl"
module Assert::Context::SubjectDSL
class UnitTests < Assert::Context
desc "Assert::Context::SubjectDSL"
@@ -10,10 +10,10 @@
end
class DescriptionsTests < UnitTests
desc "`descriptions` method"
setup do
- descs = @descs = [ "something amazing", "it really is" ]
+ descs = @descs = ["something amazing", "it really is"]
@context_class = Factory.modes_off_context_class do
descs.each{ |text| desc text }
end
end