aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTobias Heinlein <keytoaster@gentoo.org>2010-05-14 01:36:17 +0200
committerTobias Heinlein <keytoaster@gentoo.org>2010-05-14 01:36:45 +0200
commit68ddb9bdae876a1c0344a16a2e3cb9a15f1f3eb8 (patch)
tree5e86a8799ae61e7b5b0e9b4de13f4f5fa1278262 /test
parentFix form data contents in case errors occur. (diff)
downloadglsamaker-68ddb9bdae876a1c0344a16a2e3cb9a15f1f3eb8.tar.gz
glsamaker-68ddb9bdae876a1c0344a16a2e3cb9a15f1f3eb8.tar.bz2
glsamaker-68ddb9bdae876a1c0344a16a2e3cb9a15f1f3eb8.zip
Adding and removing packages to revisions now works.
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/packages.yml7
-rw-r--r--test/unit/package_test.rb8
2 files changed, 15 insertions, 0 deletions
diff --git a/test/fixtures/packages.yml b/test/fixtures/packages.yml
new file mode 100644
index 0000000..5bf0293
--- /dev/null
+++ b/test/fixtures/packages.yml
@@ -0,0 +1,7 @@
+# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
+
+# one:
+# column: value
+#
+# two:
+# column: value
diff --git a/test/unit/package_test.rb b/test/unit/package_test.rb
new file mode 100644
index 0000000..7fb7c58
--- /dev/null
+++ b/test/unit/package_test.rb
@@ -0,0 +1,8 @@
+require 'test_helper'
+
+class PackageTest < ActiveSupport::TestCase
+ # Replace this with your real tests.
+ test "the truth" do
+ assert true
+ end
+end