huskies: merge 1009
This commit is contained in:
@@ -90,7 +90,11 @@ mod tests {
|
||||
fn backlog_shows_only_backlog_stage_items() {
|
||||
let items = vec![
|
||||
make_item("10_story_in_backlog", "In Backlog", Stage::Backlog),
|
||||
make_item("20_story_in_progress", "In Progress", Stage::Coding),
|
||||
make_item(
|
||||
"20_story_in_progress",
|
||||
"In Progress",
|
||||
Stage::Coding { claim: None },
|
||||
),
|
||||
make_item("30_story_in_qa", "In QA", Stage::Qa),
|
||||
];
|
||||
let output = build_backlog_from_items(&items);
|
||||
@@ -227,7 +231,11 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn backlog_shows_none_when_empty() {
|
||||
let items = vec![make_item("1_story_done", "Done", Stage::Coding)];
|
||||
let items = vec![make_item(
|
||||
"1_story_done",
|
||||
"Done",
|
||||
Stage::Coding { claim: None },
|
||||
)];
|
||||
let output = build_backlog_from_items(&items);
|
||||
assert!(
|
||||
output.contains("*(none)*"),
|
||||
|
||||
Reference in New Issue
Block a user