Skip to content

Commit 3670361

Browse files
committed
Update tests to use new async-service interface make_controller.
1 parent 7890c98 commit 3670361

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/falcon/command/serve.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
it "can listen on specified port" do
1818
configuration = command.configuration
19-
controller = configuration.controller
19+
controller = configuration.make_controller
2020

2121
controller.start
2222

test/falcon/command/top.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
]
1717

1818
serve = top.command
19-
controller = serve.configuration.controller
19+
controller = serve.configuration.make_controller
2020
controller.start
2121

2222
Async do

test/falcon/command/virtual.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
def around
3434
configuration = command.configuration
35-
controller = configuration.controller
35+
controller = configuration.make_controller
3636

3737
controller.start
3838

0 commit comments

Comments
 (0)