Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
1f4843da
Commit
1f4843da
authored
Jun 02, 2015
by
Tester
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
just mock invocation, not output
parent
9b240932
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
test/rbenv.bats
+6
-6
No files found.
test/rbenv.bats
View file @
1f4843da
...
@@ -154,7 +154,7 @@ OUT
...
@@ -154,7 +154,7 @@ OUT
@test "not enough arguments for rbenv-install" {
@test "not enough arguments for rbenv-install" {
stub_ruby_build
stub_ruby_build
stub rbenv-help 'install :
echo "Usage: rbenv install"
'
stub rbenv-help 'install :
true
'
run rbenv-install
run rbenv-install
assert_failure
assert_failure
...
@@ -163,7 +163,7 @@ OUT
...
@@ -163,7 +163,7 @@ OUT
@test "too many arguments for rbenv-install" {
@test "too many arguments for rbenv-install" {
stub_ruby_build
stub_ruby_build
stub rbenv-help 'install :
echo "Usage: rbenv install"
'
stub rbenv-help 'install :
true
'
run rbenv-install 2.1.1 2.1.2
run rbenv-install 2.1.1 2.1.2
assert_failure
assert_failure
...
@@ -172,7 +172,7 @@ OUT
...
@@ -172,7 +172,7 @@ OUT
@test "show help for rbenv-install" {
@test "show help for rbenv-install" {
stub_ruby_build
stub_ruby_build
stub rbenv-help 'install :
echo "Usage: rbenv install"
'
stub rbenv-help 'install :
true
'
run rbenv-install -h
run rbenv-install -h
assert_success
assert_success
...
@@ -185,7 +185,7 @@ OUT
...
@@ -185,7 +185,7 @@ OUT
}
}
@test "not enough arguments rbenv-uninstall" {
@test "not enough arguments rbenv-uninstall" {
stub rbenv-help 'uninstall :
echo "Usage: rbenv uninstall"
'
stub rbenv-help 'uninstall :
true
'
run rbenv-uninstall
run rbenv-uninstall
assert_failure
assert_failure
...
@@ -193,7 +193,7 @@ OUT
...
@@ -193,7 +193,7 @@ OUT
}
}
@test "too many arguments for rbenv-uninstall" {
@test "too many arguments for rbenv-uninstall" {
stub rbenv-help 'uninstall :
echo "Usage: rbenv uninstall"
'
stub rbenv-help 'uninstall :
true
'
run rbenv-uninstall 2.1.1 2.1.2
run rbenv-uninstall 2.1.1 2.1.2
assert_failure
assert_failure
...
@@ -201,7 +201,7 @@ OUT
...
@@ -201,7 +201,7 @@ OUT
}
}
@test "show help for rbenv-uninstall" {
@test "show help for rbenv-uninstall" {
stub rbenv-help 'uninstall :
echo "Usage: rbenv uninstall"
'
stub rbenv-help 'uninstall :
true
'
run rbenv-uninstall -h
run rbenv-uninstall -h
assert_success
assert_success
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment