summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2013-08-02 07:55:32 +0200
committerjomo <github@jomo.tv>2013-08-02 07:55:32 +0200
commite052ad8859b27a8fea23a43b77f6d7393dec5f4a (patch)
treebfdc87384a3e81492889ef0989d7a810b35bb9c9 /test
parent45ebd0bd05a5cd0bca689856a77fceef04b00488 (diff)
fixes & forums started
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/forumgroups.yml11
-rw-r--r--test/fixtures/forums.yml11
-rw-r--r--test/functional/forum_controller_test.rb7
-rw-r--r--test/functional/forums_controller_test.rb7
-rw-r--r--test/unit/forum_test.rb7
-rw-r--r--test/unit/forumgroup_test.rb7
-rw-r--r--test/unit/helpers/forum_helper_test.rb4
-rw-r--r--test/unit/helpers/forums_helper_test.rb4
8 files changed, 58 insertions, 0 deletions
diff --git a/test/fixtures/forumgroups.yml b/test/fixtures/forumgroups.yml
new file mode 100644
index 0000000..c63aac0
--- /dev/null
+++ b/test/fixtures/forumgroups.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/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/fixtures/forums.yml b/test/fixtures/forums.yml
new file mode 100644
index 0000000..c63aac0
--- /dev/null
+++ b/test/fixtures/forums.yml
@@ -0,0 +1,11 @@
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/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/functional/forum_controller_test.rb b/test/functional/forum_controller_test.rb
new file mode 100644
index 0000000..143a13c
--- /dev/null
+++ b/test/functional/forum_controller_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class ForumControllerTest < ActionController::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/test/functional/forums_controller_test.rb b/test/functional/forums_controller_test.rb
new file mode 100644
index 0000000..601a839
--- /dev/null
+++ b/test/functional/forums_controller_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class ForumsControllerTest < ActionController::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/test/unit/forum_test.rb b/test/unit/forum_test.rb
new file mode 100644
index 0000000..a6f90e4
--- /dev/null
+++ b/test/unit/forum_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class ForumTest < ActiveSupport::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/test/unit/forumgroup_test.rb b/test/unit/forumgroup_test.rb
new file mode 100644
index 0000000..381763e
--- /dev/null
+++ b/test/unit/forumgroup_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class ForumgroupTest < ActiveSupport::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end
diff --git a/test/unit/helpers/forum_helper_test.rb b/test/unit/helpers/forum_helper_test.rb
new file mode 100644
index 0000000..16106f5
--- /dev/null
+++ b/test/unit/helpers/forum_helper_test.rb
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class ForumHelperTest < ActionView::TestCase
+end
diff --git a/test/unit/helpers/forums_helper_test.rb b/test/unit/helpers/forums_helper_test.rb
new file mode 100644
index 0000000..deebfb0
--- /dev/null
+++ b/test/unit/helpers/forums_helper_test.rb
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class ForumsHelperTest < ActionView::TestCase
+end