Javi Martín
ea9576096b
Don't load tasks if they're already loaded
...
We were having problems under certain conditions with Travis and
Knapsack where tasks were still being loaded twice and so they were
being executed twice.
2018-11-30 17:28:59 +01:00
Javi Martín
1a5b73a0bd
Don't load tasks several times in specs
...
Calling `load_tasks` in several files made rails load the tasks several
times, and so they were executed several times when called.
Since the milestone migration can't be executed twice in a row (it would
fail with duplicated ID records), loading the tasks several times made
the milestone migrations task specs fail.
2018-11-30 14:15:21 +01:00
Angel Perez
ff1fced609
Update Dockerfile to install Headless Chrome
2018-06-07 14:11:16 -04:00
Angel Perez
eb2926ab42
Fix failing scenario related to Headless Chrome window-size flag
2018-03-27 14:47:50 -04:00
Angel Perez
0bf4afe8bc
Replace PhantomJS/Poltergeist config with Headless Chrome
2018-03-27 14:47:48 -04:00
rgarcia
7b7a426f6a
Run Coveralls only in Travis CI
...
We were seeing a log message when running specs locally
```
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
```
As Coveralls is mainly used in Travis CI, we do not need to load it in
every spec run
2018-02-06 12:22:34 +01:00
Bertocq
1441de5107
Enable RSpec/HookArgument cop and fix issues
...
To be consistent about before/after arguments, as `:each` or `:example`
are same and default scopes, best not to send an argument in those
scenarios.
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HookArgument
2018-01-07 02:07:19 +01:00
Amaia Castro
551e8dc6c1
Increase Poltergeist timeout in specs
...
This is to try to avoid flaky js specs in Travis
2017-01-19 13:38:06 +01:00
Juanjo Bazán
4a888e95c2
disables js fx in specs via poltergeist config
2016-03-04 12:26:47 +01:00
Alberto Garcia Cabeza
3752f3a53b
Adds foundation 6 🎉
2016-02-26 19:33:33 +01:00
kikito
eda47effc4
Configures tests to minimize flackyness
...
Reference: https://bibwild.wordpress.com/2016/02/18/struggling-towards-reliable-capybara-javascript-testing/
The only thing I did not do was removing the random order in the tests.
2016-02-24 11:37:07 +01:00
kikito
e3cbae4f02
Makes capybara exact. Should fix some randomly-failing specs
2015-09-02 18:05:43 +02:00
David Gil
de15bbe911
adds feature tests for sign up and sign using OAuth
2015-08-25 14:15:04 +02:00
rgarcia
c2091f570c
integrates coveralls in test suite
2015-08-05 14:16:58 +02:00
Juanjo Bazán
9073037a45
makes test suite default to :en locale
...
ref: #38
2015-07-28 12:52:10 +02:00
kikito
be173ff581
removes use_transaction_fixtures from rails_helper
...
It is already configured in spec_helper.rb (and makes other things fail)
2015-07-27 19:07:02 +02:00
kikito
1e2f8704a5
Change order in requires to fix tests
2015-07-27 19:01:06 +02:00
rgarcia
0aaa8169f0
tmp commit [ #21 ]
2015-07-27 11:12:55 +02:00
rgarcia
8f78509b0c
adds basic devise feature specs
2015-07-17 19:53:19 +02:00
rgarcia
223eb06da2
configures capybara [ #4 ]
2015-07-16 17:07:12 +02:00
rgarcia
4aa16e78c2
configure rspec
2015-07-15 13:59:26 +02:00