Bump jasmine

Disable random tests for now, many tests fail when this is true (which
is now default)
This commit is contained in:
Benjamin Neff 2018-04-08 02:52:49 +02:00
parent eb68343ae1
commit 0e526f9221
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
4 changed files with 11 additions and 6 deletions

View file

@ -309,7 +309,7 @@ group :development, :test do
gem "cucumber-rails", "1.5.0", require: false gem "cucumber-rails", "1.5.0", require: false
# Jasmine (client side application tests (JS)) # Jasmine (client side application tests (JS))
gem "jasmine", "2.8.0" gem "jasmine", "3.1.0"
gem "jasmine-jquery-rails", "2.0.3" gem "jasmine-jquery-rails", "2.0.3"
gem "rails-assets-jasmine-ajax", "3.3.1", source: "https://rails-assets.org" gem "rails-assets-jasmine-ajax", "3.3.1", source: "https://rails-assets.org"
gem "sinon-rails", "1.15.0" gem "sinon-rails", "1.15.0"

View file

@ -315,12 +315,12 @@ GEM
railties (>= 3.0.0) railties (>= 3.0.0)
idn-ruby (0.1.0) idn-ruby (0.1.0)
ipaddress (0.8.3) ipaddress (0.8.3)
jasmine (2.8.0) jasmine (3.1.0)
jasmine-core (>= 2.8.0, < 3.0.0) jasmine-core (= 3.1.0)
phantomjs phantomjs
rack (>= 1.2.1) rack (>= 1.2.1)
rake rake
jasmine-core (2.8.0) jasmine-core (3.1.0)
jasmine-jquery-rails (2.0.3) jasmine-jquery-rails (2.0.3)
jquery-rails (4.3.1) jquery-rails (4.3.1)
rails-dom-testing (>= 1, < 3) rails-dom-testing (>= 1, < 3)
@ -530,7 +530,7 @@ GEM
rails-assets-favico.js (0.3.10) rails-assets-favico.js (0.3.10)
rails-assets-fine-uploader (5.13.0) rails-assets-fine-uploader (5.13.0)
rails-assets-highlightjs (9.12.0) rails-assets-highlightjs (9.12.0)
rails-assets-jasmine (2.8.0) rails-assets-jasmine (2.99.2)
rails-assets-jasmine-ajax (3.3.1) rails-assets-jasmine-ajax (3.3.1)
rails-assets-jasmine (~> 2) rails-assets-jasmine (~> 2)
rails-assets-jquery (3.2.1) rails-assets-jquery (3.2.1)
@ -807,7 +807,7 @@ DEPENDENCIES
handlebars_assets (= 0.23.2) handlebars_assets (= 0.23.2)
http_accept_language (= 2.1.1) http_accept_language (= 2.1.1)
i18n-inflector-rails (= 1.0.7) i18n-inflector-rails (= 1.0.7)
jasmine (= 2.8.0) jasmine (= 3.1.0)
jasmine-jquery-rails (= 2.0.3) jasmine-jquery-rails (= 2.0.3)
jquery-rails (= 4.3.1) jquery-rails (= 4.3.1)
js-routes (= 1.4.3) js-routes (= 1.4.3)

View file

@ -32,6 +32,8 @@ Rails.application.configure do
color_themes/original/desktop.css color_themes/original/desktop.css
color_themes/dark_green/desktop.css color_themes/dark_green/desktop.css
color_themes/original/mobile.css color_themes/original/mobile.css
jasmine-load-all.js
jasmine-jquery.js
] ]
# Show full error reports and disable caching. # Show full error reports and disable caching.

View file

@ -80,3 +80,6 @@ spec_dir: spec/javascripts
rack_options: rack_options:
Host: '0.0.0.0' Host: '0.0.0.0'
# TODO: refactor tests, they shouldn't fail when they are run in a random order!
random: false