Skip to content

Commit

Permalink
Spec removal
Browse files Browse the repository at this point in the history
  • Loading branch information
zwolf committed Jun 3, 2024
1 parent e62e60d commit 3d58d60
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions spec/policies/aggregation_policy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
let(:anonymous_user) { nil }
let(:logged_in_user) { create(:user) }
let(:resource_owner) { create(:user) }

let(:project) { build(:project, owner: resource_owner) }

let(:public_aggregation) { build(:aggregation, workflow: build(:workflow, project: project)) }
# let(:private_aggregation) { build(:aggregation, workflow: build(:workflow, project: project)) }

before do
public_aggregation.save!
# private_aggregation.save!
end

describe 'index' do
Expand Down Expand Up @@ -86,10 +82,6 @@
it "includes aggregations from public projects" do
expect(resolved_scope).to include(public_aggregation)
end

xit 'includes aggregations from owned private projects' do
expect(resolved_scope).to include(private_aggregation)
end
end

context 'for an admin' do
Expand All @@ -100,7 +92,6 @@
expect(resolved_scope).to include(public_aggregation)
end
end

end
end
end

0 comments on commit 3d58d60

Please sign in to comment.