aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-14 13:31:11 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-19 17:15:09 +0200
commitbf8e6190758e4dfef91f5122b5af3b73f008f9f1 (patch)
treed0242bc75b302b7d846b50941acb0adb34d7a51a /spec/controllers
parentDon't show reference field to non-recruiters (diff)
downloadrecruiting-webapp-bf8e6190758e4dfef91f5122b5af3b73f008f9f1.tar.gz
recruiting-webapp-bf8e6190758e4dfef91f5122b5af3b73f008f9f1.tar.bz2
recruiting-webapp-bf8e6190758e4dfef91f5122b5af3b73f008f9f1.zip
Clean project acceptances view
Don't show "Project acceptances" tab. Remove index of project acceptances. Show users project acceptances on home page and in user profile.
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/project_acceptances_controller_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/controllers/project_acceptances_controller_spec.rb b/spec/controllers/project_acceptances_controller_spec.rb
new file mode 100644
index 0000000..7b2537f
--- /dev/null
+++ b/spec/controllers/project_acceptances_controller_spec.rb
@@ -0,0 +1,6 @@
+require 'spec_helper.rb'
+describe ProjectAcceptancesController do
+ it "should not have index action" do
+ ProjectAcceptancesController .action_methods.include?('index').should be_false
+ end
+end