Skip to content

Commit 2c871db

Browse files
committed
Added assertion to railties engine_test
1 parent 9ba208c commit 2c871db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

railties/test/railties/engine_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,8 @@ def call(env)
668668

669669
add_to_config "config.middleware.use Bukkits"
670670
boot_rails
671+
672+
assert_includes Rails.application.middleware.map(&:klass), Bukkits, "Bukkits middleware should be in the middleware stack"
671673
end
672674

673675
test "initializers are executed after application configuration initializers" do

0 commit comments

Comments
 (0)