Skip to content

Commit

Permalink
Fix various Aruba deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
schisamo committed Aug 4, 2015
1 parent 588250a commit ff6d94e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion features/step_definitions/generator_steps.rb
@@ -1,7 +1,7 @@
require 'aruba/api'

Given(/^I have an omnibus project named "(.+)"$/) do |name|
create_dir(name)
create_directory(name)
cd(name)

write_file("config/projects/#{name}.rb", <<-EOH.gsub(/^ {4}/, ''))
Expand Down
8 changes: 5 additions & 3 deletions features/support/env.rb
Expand Up @@ -4,10 +4,12 @@

require 'omnibus/cli'

Aruba.configure do |config|
config.command_launcher = :in_process
config.main_class = Omnibus::CLI::Runner
end

Before do
# Reset anything that might have been cached in the Omnibus project
Omnibus.reset!(true)

Aruba::InProcess.main_class = Omnibus::CLI::Runner
Aruba.process = Aruba::InProcess
end

0 comments on commit ff6d94e

Please sign in to comment.