update tests

This commit is contained in:
Praveen Arimbrathodiyil 2016-09-16 00:02:48 +05:30
parent ce0d0d9f26
commit e1302c7daf
2 changed files with 7 additions and 3 deletions

View file

@ -17,6 +17,7 @@ Depends: @,
#ruby-poltergeist,
#ruby-capybara-screenshot,
ruby-database-cleaner,
#ruby-email-spec
#ruby-ffaker
#ruby-email-spec,
#ruby-ffaker,
ruby-json-schema
Restrictions: needs-recommends

5
debian/tests/setup vendored
View file

@ -27,10 +27,13 @@ gem 'capybara-screenshot', '~> 1.0'
gem 'database_cleaner', '~> 1.5'
gem 'email_spec', '~> 1.6'
gem 'ffaker', '~> 2.0'
gem 'json-schema', '~> 2.6', '>= 2.6.2'
EOF
sudo cp ${ADTTMP}/Gemfile .
fi
export $(cat /etc/gitlab/gitlab-debian.conf)
sudo -u gitlab -E bundle install --local
sudo -u gitlab -E bundle exec rspec spec/uploaders/ spec/routing/
sudo -u gitlab -E bundle exec rspec spec/uploaders spec/routing spec/views
#config 2/2 failed, controllers many failed