Skip to content
Snippets Groups Projects
Commit 8927f663 authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #2141 from reitermarkus/spec-outdated

Convert `brew outdated` test to spec.
parents 72a43620 a59868c8
No related branches found
No related tags found
No related merge requests found
require "testing_env"
class IntegrationCommandTestOutdated < IntegrationCommandTestCase
def test_outdated
describe "brew outdated", :integration_test do
it "prints outdated Formulae" do
setup_test_formula "testball"
(HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath
assert_equal "testball", cmd("outdated")
expect { brew "outdated" }
.to output("testball\n").to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment