Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 73467a0

Browse files
committed
Use 4-0-maintenance branch of rspec-rails
1 parent 6bbe2c9 commit 73467a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

script/clone_all_rspec_repos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if is_mri; then
1212
clone_repo "rspec-core"
1313
clone_repo "rspec-expectations"
1414
clone_repo "rspec-mocks"
15-
clone_repo "rspec-rails"
15+
clone_repo "rspec-rails" 4-0-maintenance
1616
clone_repo "rspec-support"
1717

1818
popd

script/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export RUBYOPT="--disable=gem"
1717

1818
function clone_repo {
1919
if [ ! -d $1 ]; then # don't clone if the dir is already there
20-
travis_retry eval "git clone https://github.com/rspec/$1 --depth 1 --branch $MAINTENANCE_BRANCH"
20+
travis_retry eval "git clone https://github.com/rspec/$1 --depth 1 --branch ${2:-$MAINTENANCE_BRANCH}"
2121
fi;
2222
}
2323

0 commit comments

Comments
 (0)