Renames Java with Spock language without blanks in folder name.

This commit is contained in:
Peter Kofler committed 2018-12-02 20:48:45 +01:00
1 parent e0373461c1
commit 027693ce83
10 files changed

No files matched your search

@@ -0,0 +1,25 @@
package com.gildedrose
import spock.lang.Specification
/**
* Spock unit tests.
*/
class GildedRoseSpec extends Specification {
def "should update quality correctly"() {
given: "some items"
Item[] items = [new Item("foo", 0, 0)];
and: "the application with these items"
GildedRose app = new GildedRose(items);
when: "updating quality"
app.updateQuality();
then: "the quality is correct"
app.items[0].name == "fixme"
}
}