diff options
Diffstat (limited to 'Library/Homebrew/test/test_integration_cmds_edit.rb')
| -rw-r--r-- | Library/Homebrew/test/test_integration_cmds_edit.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds_edit.rb b/Library/Homebrew/test/test_integration_cmds_edit.rb new file mode 100644 index 000000000..b47e0d4f9 --- /dev/null +++ b/Library/Homebrew/test/test_integration_cmds_edit.rb @@ -0,0 +1,11 @@ +require "integration_cmds_tests" + +class IntegrationCommandTestEdit < IntegrationCommandTests + def test_edit + (HOMEBREW_REPOSITORY/".git").mkpath + setup_test_formula "testball" + + assert_match "# something here", + cmd("edit", "testball", "HOMEBREW_EDITOR" => "/bin/cat") + end +end |
