test/unit/context_info_tests.rb in assert-2.19.2 vs test/unit/context_info_tests.rb in assert-2.19.3
- old
+ new
@@ -6,23 +6,23 @@
require "assert/context"
class Assert::ContextInfo
class UnitTests < Assert::Context
desc "Assert::ContextInfo"
- subject { unit_class }
+ subject{ unit_class }
- let(:unit_class) { Assert::ContextInfo }
+ let(:unit_class){ Assert::ContextInfo }
end
class InitTests < UnitTests
desc "when init"
- subject { unit_class.new(context1, nil, @caller.first) }
+ subject{ unit_class.new(context1, nil, @caller.first) }
setup do
@caller = caller
end
- let(:context1) { Assert::Context }
+ let(:context1){ Assert::Context }
should have_readers :called_from, :klass, :file
should have_imeths :test_name
should "set its klass on init" do