Sha256: 082f73463ce1da3e76592b54ec958748a44ad3c69344667bfbc94426fe4d761f

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

require "spec_helper"

module Capistrano
  class Configuration
    describe EmptyFilter do
      subject(:empty_filter) { EmptyFilter.new }

      describe '#filter' do
        let(:servers) { mock("servers") }

        it "returns an empty array" do
          expect(empty_filter.filter(servers)).to eq([])
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-3.5.0 spec/lib/capistrano/configuration/empty_filter_spec.rb