Merge branch 'master' of git+ssh://git.debian.org/git/pkg-ruby-extras/gitlab

This commit is contained in:
Praveen Arimbrathodiyil 2016-09-17 22:00:33 +05:30
commit ecac818d7e

10
debian/tests/spec vendored
View file

@ -14,7 +14,7 @@ exec 2>&1
set -ex
cd /usr/share/gitlab
sudo truncate -s 0 Gemfile.lock
su gitlab -c 'truncate -s 0 Gemfile.lock'
if ! grep factory_girl_rails Gemfile >/dev/null; then
cp Gemfile ${ADTTMP}
cat <<EOF >> ${ADTTMP}/Gemfile
@ -29,12 +29,12 @@ gem 'email_spec', '~> 1.6'
gem 'ffaker', '~> 2.0'
gem 'json-schema', '~> 2.6', '>= 2.6.2'
EOF
sudo cp ${ADTTMP}/Gemfile .
su gitlab -c "cp ${ADTTMP}/Gemfile ."
fi
export $(cat /etc/gitlab/gitlab-debian.conf)
sudo -u gitlab -E -H bundle install --local
sudo -u gitlab -E -H bundle exec rspec spec/uploaders spec/routing spec/views \
spec/factories_spec.rb spec/finders
su gitlab -c "bundle install --local"
su gitlab -c "bundle exec rspec spec/uploaders spec/routing spec/views \
spec/factories_spec.rb spec/finders"
#config 2/2 failed, controllers many failed