Permalink
Browse files

started dummy app

  • Loading branch information...
kristianmandrup committed Aug 21, 2012
1 parent 748df58 commit 2cb02bd9333786a0427d363927bacb9aaa7852e0
Showing with 36 additions and 2 deletions.
  1. +1 −1 spec/acceptance/app_test.rb
  2. 0 spec/{app → controll-app}/.gitignore
  3. 0 spec/{app → controll-app}/Gemfile
  4. 0 spec/{app → controll-app}/Gemfile.lock
  5. 0 spec/{app → controll-app}/README.rdoc
  6. 0 spec/{app → controll-app}/Rakefile
  7. +5 −0 spec/controll-app/app/controll/commanders/services_commander.rb
  8. +4 −0 spec/controll-app/app/controll/executors/services_executor.rb
  9. +9 −0 spec/controll-app/app/controll/flow_handlers/create_services.rb
  10. +9 −0 spec/controll-app/app/controll/notifiers/services_notifier.rb
  11. +0 −1 spec/{app → controll-app}/app/controllers/application_controller.rb
  12. 0 spec/{app → controll-app}/app/controllers/posts_controller.rb
  13. +8 −0 spec/controll-app/app/controllers/services_controller.rb
  14. 0 spec/{app → controll-app}/app/models/.gitkeep
  15. 0 spec/{app → controll-app}/app/models/post.rb
  16. 0 spec/{app → controll-app}/app/views/layouts/application.html.erb
  17. 0 spec/{app → controll-app}/app/views/posts/_form.html.erb
  18. 0 spec/{app → controll-app}/app/views/posts/edit.html.erb
  19. 0 spec/{app → controll-app}/app/views/posts/index.html.erb
  20. 0 spec/{app → controll-app}/app/views/posts/new.html.erb
  21. 0 spec/{app → controll-app}/app/views/posts/show.html.erb
  22. 0 spec/{app → controll-app}/config.ru
  23. 0 spec/{app → controll-app}/config/application.rb
  24. 0 spec/{app → controll-app}/config/boot.rb
  25. 0 spec/{app → controll-app}/config/environment.rb
  26. 0 spec/{app → controll-app}/config/environments/development.rb
  27. 0 spec/{app → controll-app}/config/environments/test.rb
  28. 0 spec/{app → controll-app}/config/initializers/backtrace_silencers.rb
  29. 0 spec/{app → controll-app}/config/initializers/inflections.rb
  30. 0 spec/{app → controll-app}/config/initializers/mime_types.rb
  31. 0 spec/{app → controll-app}/config/initializers/secret_token.rb
  32. 0 spec/{app → controll-app}/config/initializers/session_store.rb
  33. 0 spec/{app → controll-app}/config/locales/en.yml
  34. 0 spec/{app → controll-app}/config/routes.rb
  35. 0 spec/{app → controll-app}/db/seeds.rb
  36. 0 spec/{app → controll-app}/lib/assets/.gitkeep
  37. 0 spec/{app → controll-app}/lib/tasks/.gitkeep
  38. 0 spec/{app → controll-app}/log/.gitkeep
  39. 0 spec/{app → controll-app}/public/404.html
  40. 0 spec/{app → controll-app}/public/422.html
  41. 0 spec/{app → controll-app}/public/500.html
  42. 0 spec/{app → controll-app}/public/favicon.ico
  43. 0 spec/{app → controll-app}/public/index.html
  44. 0 spec/{app → controll-app}/public/javascripts/application.js
  45. 0 spec/{app → controll-app}/public/robots.txt
  46. 0 spec/{app → controll-app}/public/stylesheets/application.css
  47. 0 spec/{app → controll-app}/script/rails
  48. 0 spec/{app → controll-app}/spec/controllers/posts_controller_spec.rb
  49. 0 spec/{app → controll-app}/spec/isolated_spec_helper.rb
  50. 0 spec/{app → controll-app}/spec/spec_helper.rb
  51. 0 spec/{app → controll-app}/spec/unit/controllers/posts_controller_isolated_spec.rb
  52. 0 spec/{app → controll-app}/spec/unit/controllers/posts_controller_spec.rb
  53. 0 spec/{app → controll-app}/test/functional/.gitkeep
  54. 0 spec/{app → controll-app}/test/functional/posts_controller_test.rb
  55. 0 spec/{app → controll-app}/test/isolated_test_helper.rb
  56. 0 spec/{app → controll-app}/test/test_helper.rb
  57. 0 spec/{app → controll-app}/test/unit/.gitkeep
  58. 0 spec/{app → controll-app}/test/unit/controllers/posts_controller_isolated_test.rb
  59. 0 spec/{app → controll-app}/test/unit/controllers/posts_controller_test.rb
  60. 0 spec/{app → controll-app}/vendor/assets/javascripts/.gitkeep
  61. 0 spec/{app → controll-app}/vendor/assets/stylesheets/.gitkeep
  62. 0 spec/{app → controll-app}/vendor/plugins/.gitkeep
@@ -22,7 +22,7 @@ def self.port
describe 'acceptance test' do
def app_root
- TEST_ROOT + '/app'
+ TEST_ROOT + '/controll-app'
end
def within_test_app
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
+module Commanders
+ class ServicesCommander < Commanders
+ command_method :sign_in
+ end
+end
@@ -0,0 +1,4 @@
+module Executors
+ class ServicesExecutor < Executor
+ end
+end
@@ -0,0 +1,9 @@
+module FlowHandlers
+ class CreateServices < FlowHandler
+ renderer :simple do
+ end
+
+ redirecter :complex do
+ end
+ end
+end
@@ -0,0 +1,9 @@
+module Notifiers
+ class ServicesNotifier < Typed
+ handler :notice do
+ end
+
+ handler :error do
+ end
+ end
+end
@@ -2,5 +2,4 @@
require 'focused_controller'
class ApplicationController < ActionController::Base
- include FocusedController::Mixin
end
@@ -0,0 +1,8 @@
+require 'action_controller'
+require 'focused_controller'
+
+module ServicesController
+ class Create < FocusedAction
+
+ end
+end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2cb02bd

Please sign in to comment.