Skip to content

Commit

Permalink
remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Sep 12, 2023
1 parent b61e150 commit 32ffef0
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions spec/lib/karafka/web/ui/models/partition_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,7 @@

let(:data) { {} }

describe '#lag' do
context 'when not available' do
it { expect(partition.lag).to eq(-1) }
end

context 'when available' do
let(:data) { { lag: 100 } }

it { expect(partition.lag).to eq(100) }
end
describe '#lso_risk_state' do
pending
end
end

0 comments on commit 32ffef0

Please sign in to comment.