We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81072f2 commit 69edc94Copy full SHA for 69edc94
1 file changed
spec/typesense/analytics_rules_spec.rb
@@ -147,10 +147,10 @@
147
expect(result.instance_variable_get(:@rule_name)).to eq(rule_name)
148
end
149
150
- it 'does not memoize the analytics rule instance' do
+ it 'memoizes the analytics rule instance' do
151
first_call = integration_client.analytics.rules[rule_name]
152
second_call = integration_client.analytics.rules[rule_name]
153
- expect(first_call).not_to equal(second_call)
+ expect(first_call).to equal(second_call)
154
155
156
0 commit comments