mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-07-26 17:21:23 +00:00
Approve the Foo approval snapshot and the pre-existing ThirtyDays snapshot as the locked-down record of current (Conjured-still-broken) behaviour. Replace the failing fixme placeholder with a passing sanity check so the suite is fully green before refactoring. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
17 lines
429 B
C#
17 lines
429 B
C#
using Xunit;
|
|
using System.Collections.Generic;
|
|
using GildedRoseKata;
|
|
|
|
namespace GildedRoseTests;
|
|
|
|
public class GildedRoseTest
|
|
{
|
|
[Fact]
|
|
public void UpdateQuality_DoesNotChangeItemName()
|
|
{
|
|
IList<Item> items = new List<Item> { new Item { Name = "foo", SellIn = 0, Quality = 0 } };
|
|
GildedRose app = new GildedRose(items);
|
|
app.UpdateQuality();
|
|
Assert.Equal("foo", items[0].Name);
|
|
}
|
|
} |