capistrano-spec
capistrano-spec copied to clipboard
Capistrano 3 support...
:+1:
Calling all volunteers to submit a PR for this.
I'm not actively using this library so won't be fixing this myself anytime soon, but I'm happy to review pull requests (I use The Pull Request Hack to add contributors when they have pull requests accepted).
Any idea what might be involved in this? I'm writing a plugin for capistrano, available here: https://github.com/FoamFactory/capistrano-monorepo/tree/jwir3/%231-specs
Unfortunately, I get
Failures:
1) Capistrano::Monorepo::Assets loaded into a configuration should define a task called monorepo:import_assets
Failure/Error: @configuration = Capistrano::Configuration.new
NameError:
uninitialized constant Capistrano::Configuration
# ./spec/capistrano/monorepo/assets_spec.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00275 seconds (files took 0.08935 seconds to load)
2 examples, 1 failure
Failed examples:
rspec ./spec/capistrano/monorepo/assets_spec.rb:10 # Capistrano::Monorepo::Assets loaded into a configuration should define a task called monorepo:import_assets
when running these specs. We do use Capistrano v3, so I'm wondering if this is an instance of this problem?
I'd be willing to help with this by submitting a PR, but I'm not quite sure where to start.