Sha256: 628f3d2028dfe44b34512114b259439e6832f49e8626368451222cf2db628ad0

Contents?: true

Size: 369 Bytes

Versions: 36

Compression:

Stored size: 369 Bytes

Contents

require "spec_helper"

module Capistrano
  class Configuration
    describe NullFilter do
      subject(:null_filter) { NullFilter.new }

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

        it "returns the servers passed in as arguments" do
          expect(null_filter.filter(servers)).to eq(servers)
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
capistrano-3.11.1 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.11.0 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.10.2 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.10.1 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.10.0 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.9.1 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.9.0 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.8.2 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.8.1 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.8.0 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.7.2 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.7.1 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.7.0 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.7.0.beta1 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.6.1 spec/lib/capistrano/configuration/null_filter_spec.rb
capistrano-3.6.0 spec/lib/capistrano/configuration/null_filter_spec.rb