Skip to content
This repository has been archived by the owner on Jun 24, 2018. It is now read-only.

Commit

Permalink
Added test files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjoern Rochel committed Nov 5, 2013
1 parent 4f704dd commit db09f6c
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
*.exs
5 changes: 5 additions & 0 deletions test_files/amrita_empty.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Code.require_file "../../../test_helper.exs", __FILE__

defmodule MockErrorFacts do
use Amrita.Sweet
end
9 changes: 9 additions & 0 deletions test_files/amrita_facts.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Code.require_file "../../../test_helper.exs", __FILE__

defmodule MockErrorFacts do
use Amrita.Sweet

fact "message contains actual call" do
end

end
8 changes: 8 additions & 0 deletions test_files/amrita_rspec_syntax.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Code.require_file "../../../test_helper.exs", __FILE__

defmodule MockErrorFacts do
use Amrita.Sweet

it "message contains actual call" do
end
end
5 changes: 5 additions & 0 deletions test_files/exunit_empty.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Code.require_file "../../../test_helper.exs", __FILE__

defmodule MockErrorFacts do
use ExUnit.Case, async: true
end
8 changes: 8 additions & 0 deletions test_files/exunit_test.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Code.require_file "../../../test_helper.exs", __FILE__

defmodule MockErrorFacts do
use ExUnit.Case

test "should do something blah" do
end
end

0 comments on commit db09f6c

Please sign in to comment.