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.2.7 spec/features/services_spec.rb
cf-4.2.6 spec/features/services_spec.rb
cf-4.2.5 spec/features/services_spec.rb
cf-4.2.4 spec/features/services_spec.rb
cf-4.2.3 spec/features/services_spec.rb
cf-4.2.2.rc3 spec/features/services_spec.rb
cf-4.2.2.rc2 spec/features/services_spec.rb
cf-4.2.2.rc1 spec/features/services_spec.rb
cf-4.2.1 spec/features/services_spec.rb
cf-4.2.1.rc3 spec/features/services_spec.rb
cf-4.2.1.rc2 spec/features/services_spec.rb
cf-4.2.1.rc1 spec/features/services_spec.rb
cf-4.2.0 spec/features/services_spec.rb
cf-4.1.5.rc7 spec/features/services_spec.rb
cf-4.1.5.rc6 spec/features/services_spec.rb
cf-4.1.5.rc5 spec/features/services_spec.rb
cf-4.1.5.rc4 spec/features/services_spec.rb
cf-4.1.5.rc3 spec/features/services_spec.rb
cf-4.1.5.rc2 spec/features/services_spec.rb
cf-4.1.5.rc1 spec/features/services_spec.rb