From 5242ac175228848072d656e202a5f45ac7079510 Mon Sep 17 00:00:00 2001 From: Issei Naruta Date: Sun, 13 Oct 2024 16:42:55 +0900 Subject: [PATCH] Un-commented a test case --- spec/integration/shared_examples/active_record_functions.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/integration/shared_examples/active_record_functions.rb b/spec/integration/shared_examples/active_record_functions.rb index 9970d64..e8b200a 100644 --- a/spec/integration/shared_examples/active_record_functions.rb +++ b/spec/integration/shared_examples/active_record_functions.rb @@ -16,8 +16,7 @@ end context 'SELECT' do - # it { expect(Product.where(name: ['apple', 'orange']).sum(:price)).to eq(400) } - it { expect(Product.count).to eq(3) } + it { expect(Product.where(name: ['apple', 'orange']).sum(:price)).to eq(400) } end context 'UPDATE' do