Closed ryancheung closed 7 years ago
app/controllers/v1/base_controller.rb:
class V1::BaseController < ApplicationController
end
test/integration/v1/base_controller_test.rb:
require 'test_helper'
class V1::BaseControllerTest < ActionDispatch::IntegrationTest
# Replace this with your real tests.
test "the truth" do
assert true
end
end
Found it. There's alos a functional test class with the same class name in test/functional/v1/base_controller_test.rb
:
require 'test_helper'
class V1::BaseControllerTest < ActionController::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
@bploetz I used the versionist:new_api_version
generator to generate the template code. Should the functional test class name be different with the integration test?
versionist 1.6.0 has been released with the fix for this issue.