Skip to content

Commit

Permalink
test: refactor stock_to_pick and wording
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHulme committed Feb 10, 2025
1 parent 9f37b19 commit d1f1c5b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/models/well_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@
target_ng = cherrypick[:target_ng]
concentration = cherrypick[:measured_conc]
measured_volume = cherrypick[:measured_vol]
stock_to_pick = cherrypick[:source_pick_vol]
source_pick_vol = cherrypick[:source_pick_vol]
buffer_added = cherrypick[:buffer_vol]
minimum_volume = cherrypick[:min_vol]
maximum_volume = cherrypick[:max_vol]
Expand All @@ -451,13 +451,13 @@

context(
"when testing #{scenario}" \
" for a target of #{target_ng} with conc #{concentration} and vol #{measured_volume}"
"for a target of #{target_ng} with conc #{concentration} and vol #{measured_volume}"
) do
it "output stock_to_pick #{stock_to_pick}" do
expect(@target_well.well_attribute.picked_volume.round(2)).to eq(stock_to_pick)
it "output source pick volume of #{source_pick_vol}" do
expect(@target_well.well_attribute.picked_volume.round(2)).to eq(source_pick_vol)
end

it "output buffer #{buffer_added}" do
it "output buffer of #{buffer_added}" do
expect(@target_well.well_attribute.buffer_volume).to eq(buffer_added)
end

Expand Down

0 comments on commit d1f1c5b

Please sign in to comment.