spec/shelly/cli/main_spec.rb in shelly-0.4.39 vs spec/shelly/cli/main_spec.rb in shelly-0.4.40

- old
+ new

@@ -399,23 +399,23 @@ end it "should use database provided by user (separated by comma or space)" do $stdout.should_receive(:print). with("Which databases do you want to use " \ - "postgresql, mongodb, redis, none (postgresql - default): ") + "postgresql, mysql, mongodb, redis, none (postgresql - default): ") @app.should_receive(:databases=).with(["postgresql", "mongodb", "redis"]) fake_stdin(["", "postgresql ,mongodb redis"]) do invoke(@main, :add) end end it "should ask again for databases if unsupported kind typed" do $stdout.should_receive(:print). with("Which databases do you want to use " \ - "postgresql, mongodb, redis, none (postgresql - default): ") + "postgresql, mysql, mongodb, redis, none (postgresql - default): ") $stdout.should_receive(:print). with("Unknown database kind. Supported are: " \ - "postgresql, mongodb, redis, none: ") + "postgresql, mysql, mongodb, redis, none: ") fake_stdin(["", "postgresql,doesnt-exist", "none"]) do invoke(@main, :add) end end