test/unit/context/suite_dsl_tests.rb in assert-2.19.2 vs test/unit/context/suite_dsl_tests.rb in assert-2.19.3

- old
+ new

@@ -6,14 +6,14 @@ require "assert/suite" module Assert::Context::SuiteDSL class UnitTests < Assert::Context desc "Assert::Context::SuiteDSL" - subject { Factory.context_class(parent_class1) } + subject{ Factory.context_class(parent_class1) } - let(:parent_class1) { Factory.context_class } - let(:custom_suite1) { Factory.modes_off_suite } + let(:parent_class1){ Factory.context_class } + let(:custom_suite1){ Factory.modes_off_suite } should "use `Assert.suite` by default" do assert_that(subject.suite).equals(Assert.suite) end @@ -28,10 +28,10 @@ setup do parent_class1.suite(custom_suite1) end - let(:custom_suite2) { Factory.modes_off_suite } + let(:custom_suite2){ Factory.modes_off_suite } should "default to its parent's suite" do assert_that(subject.suite).equals(custom_suite1) end