Sha256: 4728df6f986f83dea1061c13d849457645c1b2a799ad45fc495ce8e133cc5c7f
Contents?: true
Size: 697 Bytes
Versions: 1
Compression:
Stored size: 697 Bytes
Contents
require File.dirname(__FILE__) + '/../../test_helper' require File.dirname(__FILE__) + '/../../functional/events/events_base_test' require '<%= controller.underscore -%>' # Re-raise errors caught by the controller. class <%= controller.classify -%>; def rescue_action(e) raise e end; end class <%= event.classify -%>Test < EventBaseTest fixtures :users def setup @controller = <%= controller.classify -%>.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new prepare load_event "#{EVENTS_DIR}/<%= event.underscore -%>.rb" emulate_login end # Put actual tests here def test_true assert true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
event_machine-0.2.0 | generators/event_machine/templates/functional_test.rb |