mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-17 11:25:04 +00:00
Add initial failing test for Elixir
This commit is contained in:
1 parent
99906235bd
commit
f0dea1a520
1 file changed
+4
@@ -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
|
||||||
Reference in new issue
Block a user