mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.34k stars 491 forks source link

DSL tests #695

Closed lovro-bikic closed 2 years ago

lovro-bikic commented 2 years ago

Adds tests for DSL.

This PR is a bit bigger because in order to achieve testing custom tasks for DSL, I wanted to isolate all specs so that they don't affect each other. Before, if one spec changed the configuration or added a new rake task, these changes would be visible in other specs. With the changes in this PR, each spec should now hopefully be isolated, and one spec's changes shouldn't affect other specs.

This PR also added Gemfile.lock to version control. The reasoning is outlined here, but the specific issue which prompted me into doing this is GA failing because it installed different versions of gems than those which I had locally (you can see the failing test run here).