Skip to content

Commit

Permalink
more specs
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Sep 6, 2023
1 parent acd2e9f commit 72165d5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spec/lib/karafka/web/ui/controllers/status_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,16 @@
expect(body).to include('Warning')
end
end

context 'when replication factor is less than 2 in non-production' do
before { get 'status' }

it do
expect(response).to be_ok
expect(body).to include(support_message)
expect(body).to include(breadcrumbs)
expect(body).not_to include('Please ensure all those topics have a replication')
end
end
end
end

0 comments on commit 72165d5

Please sign in to comment.