bploetz/versionist

base_presenter_test.rb in new_api_generator incorrectly has a controller test

Closed this issue · 2 comments

lib/generators/new_api_version/templates/base_presenter_test.rb has:

require 'test_helper'

class <%= module_name %>::BaseControllerTest < Test::Unit::TestCase
  # Replace this with your real tests.
  test "the truth" do
    assert true
  end
end

Note the BaseControllerTest (should be BasePresenterTest).

Fixed in release-0.2.0.

Released in versionist 0.2.0