test/docs/pundit_test.rb in trailblazer-2.1.0.beta3 vs test/docs/pundit_test.rb in trailblazer-2.1.0.beta4
- old
+ new
@@ -120,12 +120,12 @@
# step ->(options) { options["x"] = true }
# #~pipe--only end
# end
# #:class-level end
-# it { Create.(); Create["result.policy"].must_equal nil }
+# it { Create.(); Create["result.policy"].must_be_nil }
# it { Create.(params: {}, current_user: Module)["x"].must_equal true }
-# it { Create.(params: {} )["x"].must_equal nil }
+# it { Create.(params: {} )["x"].must_be_nil }
# end
# TODO: