summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2010-09-02 13:33:27 +0200
committerAlex Legler <alex@a3li.li>2010-09-02 13:33:27 +0200
commit5b14e16a0efe671a1980eb32f9615990ffa0a9c8 (patch)
tree9b456b463fffdd9deb6cc2a5d59b2e1e509114d9 /test
parentAdd assigning logic to cve_controller (diff)
downloadglsamaker-5b14e16a0efe671a1980eb32f9615990ffa0a9c8.tar.gz
glsamaker-5b14e16a0efe671a1980eb32f9615990ffa0a9c8.tar.bz2
glsamaker-5b14e16a0efe671a1980eb32f9615990ffa0a9c8.zip
Add CVEAssignment model
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/cve_assignments.yml11
-rw-r--r--test/unit/cve_assignment_test.rb8
2 files changed, 19 insertions, 0 deletions
diff --git a/test/fixtures/cve_assignments.yml b/test/fixtures/cve_assignments.yml
new file mode 100644
index 0000000..2893341
--- /dev/null
+++ b/test/fixtures/cve_assignments.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
+
+# This model initially had no columns defined. If you add columns to the
+# model remove the '{}' from the fixture names and add the columns immediately
+# below each fixture, per the syntax in the comments below
+#
+one: {}
+# column: value
+#
+two: {}
+# column: value
diff --git a/test/unit/cve_assignment_test.rb b/test/unit/cve_assignment_test.rb
new file mode 100644
index 0000000..95b914a
--- /dev/null
+++ b/test/unit/cve_assignment_test.rb
@@ -0,0 +1,8 @@
+require 'test_helper'
+
+class CVEAssignmentTest < ActiveSupport::TestCase
+ # Replace this with your real tests.
+ test "the truth" do
+ assert true
+ end
+end