aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-27 05:54:02 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-27 05:54:02 +0900
commit196e22de5378cf684760f082c8131f728f4717c4 (patch)
treea8227ec9eb1bb556faba179987e412f477f89da2 /activerecord
parent55a7051a5a2935c0ced79afc5c81ef7db9e0dd73 (diff)
downloadrails-196e22de5378cf684760f082c8131f728f4717c4.tar.gz
rails-196e22de5378cf684760f082c8131f728f4717c4.tar.bz2
rails-196e22de5378cf684760f082c8131f728f4717c4.zip
:scissors:
[ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/enum_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/enum_test.rb b/activerecord/test/cases/enum_test.rb
index 1423efcf95..ae0ce195b3 100644
--- a/activerecord/test/cases/enum_test.rb
+++ b/activerecord/test/cases/enum_test.rb
@@ -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)