Commit 748bfe35 authored by mh's avatar mh

run rspec tests as well as part of the gitlab ci

parent e921ea84
......@@ -13,6 +13,7 @@ test:
- yum install -y rh-ruby25-ruby-devel libxml2-devel gcc openssl-devel postgresql-devel gcc-c++ libsodium sqlite3-devel libsqlite3x-devel easy-rsa tinycdb-devel tar gzip patch git bzip2 nodejs
- bundle install --jobs $(nproc) --with=test --with=development || bundle update rails
- bundle exec rails test
- bundle exec rspec
prod_setup_check:
stage: prod_setup
......
......@@ -46,6 +46,7 @@ end
group :test do
gem 'webmock'
gem 'rspec'
end
# there is no timezone info in containers
......
......@@ -59,6 +59,7 @@ GEM
concurrent-ruby (1.1.7)
crack (0.4.4)
crass (1.0.6)
diff-lcs (1.4.4)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
erubi (1.9.0)
......@@ -145,6 +146,19 @@ GEM
chunky_png (~> 1.0)
rqrcode_core (~> 0.1)
rqrcode_core (0.1.2)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-core (3.9.2)
rspec-support (~> 3.9.3)
rspec-expectations (3.9.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-mocks (3.9.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.3)
ruby-saml (1.9.0)
nokogiri (>= 1.5.10)
ruby_dep (1.5.0)
......@@ -211,6 +225,7 @@ DEPENDENCIES
rest-client
rotp
rqrcode
rspec
ruby-saml (~> 1.9.0)
sass-rails
spring
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment