bploetz / versionist

A plugin for versioning Rails based RESTful APIs.
MIT License
971 stars 51 forks source link

new_controller generator's new_controller_test.rb template incorrect #10

Closed bploetz closed 12 years ago

bploetz commented 12 years ago

The new_controller_test.rb template in the new_controller generator has:

require 'test_helper'

class <%= module_name %>::<%= class_name%>Controller < ActionController::TestCase

  # Replace this with your real tests.
  test "the truth" do
    assert true
  end
end

Note this should be:

class <%= module_name %>::<%= class_name%>ControllerTest < ActionController::TestCase
bploetz commented 12 years ago

This is fixed in the release-0.2.0 branch

bploetz commented 12 years ago

Released in versionist 0.2.0