Permalink
Browse files

mix: update to latest Elixir

  • Loading branch information...
1 parent cd9cf1d commit 71928a4d228a1c30c9f7b4df4762748d33cc72ba @meh committed Jan 17, 2014
Showing with 9 additions and 8 deletions.
  1. +1 −1 mix.exs
  2. +2 −2 mix.lock
  3. +1 −1 test/amnesia_test.exs
  4. +4 −3 test/database_test.exs
  5. +1 −1 test/hooks_test.exs
View
@@ -4,7 +4,7 @@ defmodule Amnesia.Mixfile do
def project do
[ app: :amnesia,
version: "0.1.1",
- elixir: "~> 0.12.0",
+ elixir: "~> 0.12.2",
deps: deps ]
end
View
@@ -1,3 +1,3 @@
-[ "continuum": {:git, "git://github.com/meh/continuum.git", "a83ecb5bf5a56a29d62518fb07a47d75ed3022e6", []},
+[ "continuum": {:git, "git://github.com/meh/continuum.git", "7845187fa814bdfa6938db7f3a2341b742b0aa61", []},
"datastructures": {:git, "git://github.com/meh/elixir-datastructures.git", "8b497974ad511965dac5fe9e7b9b8762e1632a22", []},
- "exquisite": {:git, "git://github.com/meh/exquisite.git", "632c2bea449a00e7abfdd8e15f30cbed63b79f24", []} ]
+ "exquisite": {:git, "git://github.com/meh/exquisite.git", "2631561238a17863e7b49ab2948c90919e255675", []} ]
View
@@ -1,4 +1,4 @@
-Code.require_file "../test_helper.exs", __FILE__
+Code.require_file "test_helper.exs", __DIR__
defmodule AmnesiaTest do
use ExUnit.Case
View
@@ -1,4 +1,4 @@
-Code.require_file "../test_helper.exs", __FILE__
+Code.require_file "test_helper.exs", __DIR__
use Amnesia
@@ -41,6 +41,7 @@ end
defmodule DatabaseTest do
use ExUnit.Case
use Test.Database
+ alias Data.Seq
test "type checking works" do
assert User.ordered_set?
@@ -54,12 +55,12 @@ defmodule DatabaseTest do
user.write
end
- Enum.first(User.read!(23).messages!).user!
+ Seq.first(User.read!(23).messages!).user!
assert(Amnesia.transaction! do
assert User.read(23) == User[id: 23]
assert User.read(23).messages == [Message[user_id: 23, content: "yo dawg"]]
- assert Enum.first(User.read(23).messages).user == User[id: 23]
+ assert Seq.first(User.read(23).messages).user == User[id: 23]
end == true)
end
View
@@ -1,4 +1,4 @@
-Code.require_file "../test_helper.exs", __FILE__
+Code.require_file "test_helper.exs", __DIR__
use Amnesia

0 comments on commit 71928a4

Please sign in to comment.