Sha256: 5f22cf2fb4bac6c66e3274bc83aa36f4bae2bd2abb0495c34c16d4e3e6723302

Contents?: true

Size: 712 Bytes

Versions: 42

Compression:

Stored size: 712 Bytes

Contents

require "spec_helper"

if ENV['CF_V2_RUN_INTEGRATION']
  describe "Services" do
    before do
      login
    end

    describe "creating a service" do
      describe "when the user leaves the line blank for a plan" do
        let(:services) { [selected_service] }

        it "re-prompts for the plan" do
          BlueShell::Runner.run("#{cf_bin} create-service") do |runner|
            expect(runner).to say "What kind?"
            runner.send_keys "1"
            expect(runner).to say "Name?"
            runner.send_return
            expect(runner).to say "Which plan?"
            runner.send_return
            expect(runner).to say "Which plan?"
          end
        end
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
cf-4.1.4 spec/features/services_spec.rb
cf-4.1.4.rc2 spec/features/services_spec.rb
cf-4.1.4.rc1 spec/features/services_spec.rb
cf-4.1.3 spec/features/services_spec.rb
cf-4.1.2.rc2 spec/features/services_spec.rb
cf-4.1.2.rc1 spec/features/services_spec.rb
cf-4.1.1 spec/features/services_spec.rb
cf-4.1.0rc2 spec/features/services_spec.rb
cf-4.1.0rc1 spec/features/services_spec.rb
cf-4.0.1.rc2 spec/features/services_spec.rb
cf-4.0.1.rc1 spec/features/services_spec.rb
cf-4.0.0rc2 spec/features/services_spec.rb
cf-4.0.0rc1 spec/features/services_spec.rb
cf-3.1.0rc2 spec/features/services_spec.rb
cf-3.1.0.rc1 spec/features/services_spec.rb
cf-3.0.1.rc1 spec/features/services_spec.rb
cf-3.0.0 spec/features/services_spec.rb
cf-3.0.0rc3 spec/features/services_spec.rb
cf-3.0.0rc2 spec/features/services_spec.rb
cf-3.0.0rc1 spec/features/services_spec.rb