Skip to content

Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.

test: build the empty scope without a tenant

Guido Boykee084716a38a4
diff --git a/spec/requests/api/v1/meetings_read_spec.rb b/spec/requests/api/v1/meetings_read_spec.rb
index 518fec4..ea98d4b 100644
--- a/spec/requests/api/v1/meetings_read_spec.rb
+++ b/spec/requests/api/v1/meetings_read_spec.rb
@@ -412,7 +412,7 @@ RSpec.describe 'REST meetings', :ci_guard, type: :request do
it 'when the policy scope alone refuses' do
held
- allow_any_instance_of(MeetingPolicy::Scope).to receive(:resolve).and_return(Meeting.none)
+ allow_any_instance_of(MeetingPolicy::Scope).to receive(:resolve).and_return(Meeting.unscoped.none)
expect_not_found(show(held.id))
end