spec/aerosol/runner_spec.rb in aerosol-1.9.2 vs spec/aerosol/runner_spec.rb in aerosol-1.10.0

- old
+ new

@@ -88,10 +88,10 @@ subject.stub(:random_open_port).and_return(port) File.stub(:read) ERB.stub_chain(:new, :result) YAML.stub(:load).and_return(conf) deploy.stub_chain(:migration_ssh, :with_connection).and_yield(session) - Process.stub(:waitpid).and_return { 1 } + Process.stub(:waitpid).and_return(1) Process::Status.any_instance.stub(:exitstatus) { 0 } session.stub(:loop).and_yield end it 'forwards the database connection and runs the migration' do