aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-14 15:09:47 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-19 17:15:10 +0200
commitf23b957768144994cf088cf0fabec8488d60efdf (patch)
treec898b2dc10a9974b07d633556315f2aa72f75b4d /spec
parentClean project acceptances view (diff)
downloadrecruiting-webapp-f23b957768144994cf088cf0fabec8488d60efdf.tar.gz
recruiting-webapp-f23b957768144994cf088cf0fabec8488d60efdf.tar.bz2
recruiting-webapp-f23b957768144994cf088cf0fabec8488d60efdf.zip
Cleaned question view
Removed Questions tab. Added test for viewing questions by category.
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/questions_controller_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/controllers/questions_controller_spec.rb b/spec/controllers/questions_controller_spec.rb
new file mode 100644
index 0000000..79f5e67
--- /dev/null
+++ b/spec/controllers/questions_controller_spec.rb
@@ -0,0 +1,6 @@
+require 'spec_helper.rb'
+describe QuestionsController do
+ it "shold not have index" do
+ QuestionsController.action_methods.include?('index').should be_false
+ end
+end