Permalink
Browse files

Update properex to work with latest elixir

  • Loading branch information...
1 parent 8f37cc4 commit 7b76ee46febe6662f283a6f1c8b016575147197f @yrashk committed Sep 29, 2012
Showing with 13 additions and 10 deletions.
  1. +10 −6 lib/proper.ex
  2. +1 −0 mix.lock
  3. +0 −4 test/proper_test.exs
  4. +2 −0 test/test_helper.exs
View
@@ -110,11 +110,15 @@ defmodule Proper do
# Delegates
- defdelegate [quickcheck: 1, quickcheck: 2, counterexample: 1, counterexample: 2,
- check: 2, check: 3, module: 1, module: 2, check_spec: 1, check_spec: 2,
- check_specs: 1, check_specs: 2,
- numtests: 2, fails: 1, on_output: 2, conjunction: 1,
- collect: 2, collect: 3, aggregate: 2, aggregate: 3, classify: 3, measure: 3,
- with_title: 1, equals: 2], to: :proper
+ defdelegate [quickcheck(outer_test), quickcheck(outer_test, user_opts),
+ counterexample(outer_test), counterexample(outer_test, user_opts),
+ check(outer_test, cexm), check(outer_test, cexm, user_opts),
+ module(mod), module(mod, user_opts), check_spec(mfa), check_spec(mfa, user_opts),
+ check_specs(mod), check_specs(mod, user_opts),
+ numtests(n, test), fails(test), on_output(print, test), conjunction(sub_props),
+ collect(category, test), collect(printer, category, test),
+ aggregate(sample, test), aggregate(printer, sample, test),
+ classify(count, sample, test), measure(title, sample, test),
+ with_title(title), equals(a,b)], to: :proper
end
View
@@ -0,0 +1 @@
+[ "proper": "80c2c73b1d416fce9704ec850e1b770488603257" ]
View
@@ -1,7 +1,3 @@
-Code.prepend_path "deps/proper/ebin"
-Code.prepend_path "builds/__MAIN__.Properex-0.1/ebin"
-
-
defmodule Proper.Test do
use ExUnit.Case
View
@@ -0,0 +1,2 @@
+:ok = :application.start :properex
+ExUnit.start

0 comments on commit 7b76ee4

Please sign in to comment.