Skip to content
Snippets Groups Projects
Commit 71e7711a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Generate the Simulation controller.

parent 4ea7215e
No related branches found
No related tags found
No related merge requests found
class SimulationController < ApplicationController
def simulate
end
def setup
end
end
module SimulationHelper
end
<h1>Simulation#setup</h1>
<p>Find me in app/views/simulation/setup.rhtml</p>
<h1>Simulation#simulate</h1>
<p>Find me in app/views/simulation/simulate.rhtml</p>
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment