mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 20:32:15 +00:00
Add initial failing test for Elixir
This commit is contained in:
parent
99906235bd
commit
f0dea1a520
@ -2,5 +2,9 @@ defmodule GildedRoseTest do
|
|||||||
use ExUnit.Case
|
use ExUnit.Case
|
||||||
|
|
||||||
test "begin the journey of refactoring" do
|
test "begin the journey of refactoring" do
|
||||||
|
items = [%Item{name: "foo", sell_in: 0, quality: 0}]
|
||||||
|
GildedRose.update_quality(items)
|
||||||
|
%{name: firstItemName} = List.first(items)
|
||||||
|
assert "fixme" == firstItemName
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user