mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Extract Base::Builder and Base::DSL from Kemal::Base
This commit is contained in:
		
							parent
							
								
									f5c80c7b67
								
							
						
					
					
						commit
						29b18c927c
					
				
					 7 changed files with 223 additions and 143 deletions
				
			
		|  | @ -38,7 +38,7 @@ describe "Config" do | |||
|     application = Kemal::Application.new | ||||
|     application.add_handler CustomTestHandler.new | ||||
|     application.setup | ||||
|     application.handlers.size.should eq 9 | ||||
|     application.handlers.size.should eq 8 | ||||
|   end | ||||
| 
 | ||||
|   it "toggles the shutdown message" do | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ describe "Macros" do | |||
|     it "adds a custom handler" do | ||||
|       add_handler CustomTestHandler.new | ||||
|       Kemal.application.setup | ||||
|       Kemal.application.handlers.size.should eq 7 | ||||
|       Kemal.application.handlers.size.should eq 8 | ||||
|     end | ||||
|   end | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue