Sha256: 725655444746412781ebc3f48b1f27d9e238f6c308d62d93bb4e34a95ac22b0b

Contents?: true

Size: 602 Bytes

Versions: 22

Compression:

Stored size: 602 Bytes

Contents

require 'pact_broker/ui/controllers/can_i_deploy'

module PactBroker
  module UI
    module Controllers
      describe CanIDeploy do

        let(:app) { CanIDeploy }

        describe "GET" do
          before do
            TestDataBuilder.new
              .create_pact_with_hierarchy("Foo", "1", "Bar")
              .create_consumer_version_tag("main")
          end

          subject { get("/Foo/latest-version/main/can-i-deploy/to/prod") }

          it "renders the matrix page" do
            expect(subject.body).to include "The Matrix"
          end
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
pact_broker-2.79.1 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.79.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.78.1 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.78.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.77.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.76.2 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.76.1 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.76.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.75.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.74.1 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.74.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.73.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.72.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.71.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.70.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.69.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.68.1 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.68.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.67.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb
pact_broker-2.66.0 spec/lib/pact_broker/ui/controllers/can_i_deploy_spec.rb