Skip to content

Commit

Permalink
last fix. Sorry for that...
Browse files Browse the repository at this point in the history
  • Loading branch information
Metalzoid committed Aug 29, 2024
1 parent f09be05 commit f941d24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/lib/oas_rails/extractors/route_extractor_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ def test_without_custom_routes
assert_equal 14, result.count
Extractors::RouteExtractor.clear_cache
end

def test_with_custom_controllers_actions
OasRails.config.ignored_actions = ["projects#index"]
result = Extractors::RouteExtractor.host_routes
assert_equal 13, result.count
Extractors::RouteExtractor.clear_cache
end

def test_with_custom_controller_only
OasRails.config.ignored_actions = ["projects"]
result = Extractors::RouteExtractor.host_routes
Expand Down

0 comments on commit f941d24

Please sign in to comment.