Skip to content

Commit 69edc94

Browse files
committed
Update analytics_rules_spec.rb
1 parent 81072f2 commit 69edc94

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/typesense/analytics_rules_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@
147147
expect(result.instance_variable_get(:@rule_name)).to eq(rule_name)
148148
end
149149

150-
it 'does not memoize the analytics rule instance' do
150+
it 'memoizes the analytics rule instance' do
151151
first_call = integration_client.analytics.rules[rule_name]
152152
second_call = integration_client.analytics.rules[rule_name]
153-
expect(first_call).not_to equal(second_call)
153+
expect(first_call).to equal(second_call)
154154
end
155155
end
156156
end

0 commit comments

Comments
 (0)