From 9fd6659d9d0882ccfbe6e08091bae50c6b19fb33 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Tue, 9 Mar 2021 18:31:02 -0800 Subject: [PATCH] [style] fix style --- spec/models/user_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 7f1cd76f..7353ecf5 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -448,8 +448,8 @@ describe User do let(:ticket_purchase) { create(user: user, conference: conference3, ticket: registration_ticket, quantity: 1) } it 'counts the number of registration tickets of a conference held by user' do - expect(user.count_registration_tickets(conference3).to eq(1)) - expect(user.count_registration_tickets(conference2).to eq(0)) + expect(user.count_registration_tickets(conference3)).to eq(1) + expect(user.count_registration_tickets(conference2)).to eq(0) end end end