test/test_autoload.rb in loader-2.0.0 vs test/test_autoload.rb in loader-2.1.0
- old
+ new
@@ -45,9 +45,19 @@
end
}.call.is_a?(Exception).must_be :==, false
-> {
begin
+
+ SamplesController
+
+ rescue Exception => e
+ e
+ end
+ }.call.is_a?(Exception).must_be :==, false
+
+ -> {
+ begin
BOOOM
rescue Exception => e
e
end
}.call.is_a?(Exception).must_be :==, true
\ No newline at end of file