Skip to content

Commit

Permalink
Merge 79c2f02 into 3bd5f24
Browse files Browse the repository at this point in the history
  • Loading branch information
krasnoukhov committed Jul 12, 2014
2 parents 3bd5f24 + 79c2f02 commit 94b7d8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/lotus/commands/console.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Console
module Methods
def reload!
puts 'Reloading...'
Kernel.exec $0
Kernel.exec "#{$0} console"
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/commands/console_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def remove_engine(engine)

@old_kernel = Kernel
Lotus::Utils::IO.silence_warnings { Kernel = Minitest::Mock.new }
Kernel.expect(:exec, true, [$0])
Kernel.expect(:exec, true, ["#{$0} console"])
end

after do
Expand Down

0 comments on commit 94b7d8b

Please sign in to comment.