-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
4 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ jdk: | |
- openjdk7 | ||
notifications: | ||
email: false | ||
webhooks: http://polar-hollows-8825.herokuapp.com/notifications |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
(defproject training-day "1.0.0-SNAPSHOT" | ||
:dependencies [[org.clojure/clojure "1.5.1"] | ||
[midje-grader "0.1.0-SNAPSHOT"]] | ||
:profiles {:dev | ||
{:dependencies [[midje "1.5.1"]] | ||
:plugins [[lein-midje "3.1.1"]]}}) | ||
[iloveponies.tests/training-day "0.1.0-SNAPSHOT"]] | ||
:profiles {:dev {:plugins [[lein-midje "3.1.1"]]}}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,2 @@ | ||
(ns training-day-test | ||
(:use training-day | ||
midje.sweet)) | ||
|
||
(facts "answer" {:exercise 5 | ||
:points 1} | ||
answer => 42) | ||
|
||
(facts "square" {:exercise 6 | ||
:points 1} | ||
(square 2) => 4 | ||
(square 3) => 9) | ||
|
||
(facts "average" {:exercise 7 | ||
:points 1} | ||
(average 2 4) => 3 | ||
(average 1 2) => 3/2) | ||
(:use iloveponies.tests.training-day)) |
372154a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit confusing that http://iloveponies.github.io/120-hour-epic-sax-marathon/training-day.html still says that the tests can be found from test/training_day_test.clj.
372154a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also lein midje :autotest doesn't seem to work with this version.