diff --git a/Library/Homebrew/test/cmd/info_spec.rb b/Library/Homebrew/test/cmd/info_spec.rb
new file mode 100644
index 0000000000000000000000000000000000000000..d33035972563a32b3c8346f41926f05b72b8feba
--- /dev/null
+++ b/Library/Homebrew/test/cmd/info_spec.rb
@@ -0,0 +1,10 @@
+describe "brew info", :integration_test do
+  it "prints information about a given Formula" do
+    setup_test_formula "testball"
+
+    expect { brew "info", "testball" }
+      .to output(/testball: stable 0.1/).to_stdout
+      .and not_to_output.to_stderr
+      .and be_a_success
+  end
+end
diff --git a/Library/Homebrew/test/info_test.rb b/Library/Homebrew/test/info_test.rb
index f71044bf02f6da53f23374b78f5df6b05d53de36..d8a0f79047d002e185de2df2d496034b3c34d27d 100644
--- a/Library/Homebrew/test/info_test.rb
+++ b/Library/Homebrew/test/info_test.rb
@@ -3,15 +3,6 @@ require "cmd/info"
 require "formula"
 require "testing_env"
 
-class IntegrationCommandTestInfo < IntegrationCommandTestCase
-  def test_info
-    setup_test_formula "testball"
-
-    assert_match "testball: stable 0.1",
-                 cmd("info", "testball")
-  end
-end
-
 class InfoCommandTests < Homebrew::TestCase
   def test_github_remote_path
     remote = "https://github.com/Homebrew/homebrew-core"