提交 196e22de 编写于 作者: R Ryuta Kamizono

[ci skip]
上级 55a7051a
......@@ -43,7 +43,7 @@ class EnumTest < ActiveRecord::TestCase
assert_equal books(:ddd), Book.forgotten.first
assert_equal books(:rfr), authors(:david).unpublished_books.first
end
test "find via negative scope" do
assert Book.not_published.exclude?(@book)
assert Book.not_proposed.include?(@book)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册