diff --git a/app/controllers/simulation_controller.rb b/app/controllers/simulation_controller.rb new file mode 100644 index 0000000000000000000000000000000000000000..efe40c6efc451a786c55be513012980822c3f844 --- /dev/null +++ b/app/controllers/simulation_controller.rb @@ -0,0 +1,8 @@ +class SimulationController < ApplicationController + + def simulate + end + + def setup + end +end diff --git a/app/helpers/simulation_helper.rb b/app/helpers/simulation_helper.rb new file mode 100644 index 0000000000000000000000000000000000000000..dfde8dcea7d2306de6e2ce429d1147e69bf7c4c8 --- /dev/null +++ b/app/helpers/simulation_helper.rb @@ -0,0 +1,2 @@ +module SimulationHelper +end diff --git a/app/views/simulation/setup.rhtml b/app/views/simulation/setup.rhtml new file mode 100644 index 0000000000000000000000000000000000000000..1ba19e7fd04db43cd1c57cb493d13ea5c09e185d --- /dev/null +++ b/app/views/simulation/setup.rhtml @@ -0,0 +1,2 @@ +<h1>Simulation#setup</h1> +<p>Find me in app/views/simulation/setup.rhtml</p> diff --git a/app/views/simulation/simulate.rhtml b/app/views/simulation/simulate.rhtml new file mode 100644 index 0000000000000000000000000000000000000000..c769da596b22b4f9e0a31908add98da1e7a1d62d --- /dev/null +++ b/app/views/simulation/simulate.rhtml @@ -0,0 +1,2 @@ +<h1>Simulation#simulate</h1> +<p>Find me in app/views/simulation/simulate.rhtml</p> diff --git a/test/functional/simulation_controller_test.rb b/test/functional/simulation_controller_test.rb new file mode 100644 index 0000000000000000000000000000000000000000..c8ce1f79bc1f49957460c7f8594797d3a3e9f63b --- /dev/null +++ b/test/functional/simulation_controller_test.rb @@ -0,0 +1,18 @@ +require File.dirname(__FILE__) + '/../test_helper' +require 'simulation_controller' + +# Re-raise errors caught by the controller. +class SimulationController; def rescue_action(e) raise e end; end + +class SimulationControllerTest < Test::Unit::TestCase + def setup + @controller = SimulationController.new + @request = ActionController::TestRequest.new + @response = ActionController::TestResponse.new + end + + # Replace this with your real tests. + def test_truth + assert true + end +end