Sha256: 70c3f5068a86ce1dee1a95b3f9de151da66146686a9ed7174be7157ac89071f1

Contents?: true

Size: 369 Bytes

Versions: 4

Compression:

Stored size: 369 Bytes

Contents

require 'spec_helper'
require 'capistrano'

describe Capistrano::Env::Plugin do
  let(:capistrano) { Capistrano::Configuration.new }

  describe :capenv do
    let(:setup) { capistrano.capenv.use {|config| ; } }
    it 'add task' do
      expect(capistrano.capenv).to receive(:add)
      setup
    end
    it { expect(setup).to be_a Capistrano::Env::Config }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capistrano-env-0.0.5 spec/capistrano/env/plugin_spec.rb
capistrano-env-0.0.4 spec/capistrano/env/plugin_spec.rb
capistrano-env-0.0.3 spec/capistrano/env/plugin_spec.rb
capistrano-env-0.0.2 spec/capistrano/env/plugin_spec.rb