소스 검색

Missed some surprisingly important spaces

Ben Cox 11 년 전
부모
커밋
2ba1d99399
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      test/cli_test.rb

+ 3 - 3
test/cli_test.rb

@@ -30,7 +30,7 @@ class CliTest < Test::Unit::TestCase
     $stdout.expects(:print).with("Domain? (leave blank for foo.myshopify.com) ")
     $stdout.expects(:print).with("API key? ")
     $stdout.expects(:print).with("Password? ")
-    $stdout.expects(:print).with("Would you like to use pry as your shell? (y/n)")
+    $stdout.expects(:print).with("Would you like to use pry as your shell? (y/n) ")
     $stdin.expects(:gets).times(4).returns("", "key", "pass", "y")
     @cli.expects(:puts).with("\nopen https://foo.myshopify.com/admin/api in your browser to get API credentials\n")
     @cli.expects(:puts).with("Default connection is foo")
@@ -51,7 +51,7 @@ class CliTest < Test::Unit::TestCase
     $stdout.expects(:print).with("Domain? (leave blank for foo.myshopify.com) ")
     $stdout.expects(:print).with("API key? ")
     $stdout.expects(:print).with("Password? ")
-    $stdout.expects(:print).with("Would you like to use pry as your shell? (y/n)")
+    $stdout.expects(:print).with("Would you like to use pry as your shell? (y/n) ")
     $stdin.expects(:gets).times(4).returns("bar.myshopify.com", "key", "pass", "y")
     @cli.expects(:puts).with("\nopen https://bar.myshopify.com/admin/api in your browser to get API credentials\n")
     @cli.expects(:puts).with("Default connection is foo")
@@ -67,7 +67,7 @@ class CliTest < Test::Unit::TestCase
     $stdout.expects(:print).with("Domain? (leave blank for foo.myshopify.com) ")
     $stdout.expects(:print).with("API key? ")
     $stdout.expects(:print).with("Password? ")
-    $stdout.expects(:print).with("Would you like to use pry as your shell? (y/n)")
+    $stdout.expects(:print).with("Would you like to use pry as your shell? (y/n) ")
     $stdin.expects(:gets).times(4).returns("bar.myshopify.com", "key", "pass", "fuuuuuuu")
     @cli.expects(:puts).with("\nopen https://bar.myshopify.com/admin/api in your browser to get API credentials\n")
     @cli.expects(:puts).with("Default connection is foo")