diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-27 05:54:02 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-27 05:54:02 +0900 |
commit | 196e22de5378cf684760f082c8131f728f4717c4 (patch) | |
tree | a8227ec9eb1bb556faba179987e412f477f89da2 | |
parent | 55a7051a5a2935c0ced79afc5c81ef7db9e0dd73 (diff) | |
download | rails-196e22de5378cf684760f082c8131f728f4717c4.tar.gz rails-196e22de5378cf684760f082c8131f728f4717c4.tar.bz2 rails-196e22de5378cf684760f082c8131f728f4717c4.zip |
:scissors:
[ci skip]
-rw-r--r-- | activerecord/test/cases/enum_test.rb | 2 |
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) |