Commit graph

28 commits

Author SHA1 Message Date
Philipp Rothmann
503ed6c379
Add home controller test (#972)
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-authored-by: Tobias Kneuker <tk@pragma-shift.net>
2023-03-25 18:20:13 +01:00
Patrick Gansterer
ea2862fdef Run rubocop --fix-layout and remove encoding comments 2021-03-02 09:12:19 +01:00
Patrick Gansterer
434cc59ae8 Use GitHub Actions to upload Coveralls report 2021-02-18 15:38:16 +01:00
Patrick Gansterer
c6250de945 Disable JavaScript errors in tests 2020-09-05 16:55:43 +02:00
wvengen
ef1903381b Improve testing on docker 2020-07-27 18:17:30 +02:00
Patrick Gansterer
91eeac6c40 Set the common ActionMailer default_url_options only once
There is no need to set options other than the foodcoop during every
change of the scope. This also makes sure that the correct options will
be loaded during testing to fix problems with newer rails versions.
2019-10-29 13:40:45 +01:00
wvengen
6d9c35db20 Move to apparition for integration tests 2019-10-28 17:58:14 +00:00
wvengen
b857b10814 Fix specs after update (switching to webkit) 2017-04-01 15:18:56 +02:00
wvengen
aa7a2a31ae Bundle update & restructure tests (RSpec 3) 2015-04-25 17:14:37 +02:00
wvengen
dbdc7ae4aa Workaround occasional mailer test failure 2015-01-14 20:57:43 +01:00
Benjamin Meichsner
d2a218c9fa Fixed rspec deprecation warning concerning spec type. 2014-09-21 12:28:00 +02:00
wvengen
8b83787252 simplify config loading 2014-09-11 16:40:21 +02:00
wvengen
6115979bae allow protected keys to be set/unset + config_db tests 2014-09-02 14:21:32 +02:00
wvengen
21838e9c84 prepare for RSpec 3.0 2014-08-19 11:53:01 +02:00
wvengen
6d98be6d22 reload app config before each test
(complements 21bef8e304d05025b72b39e790abc7e8a4f4f5e1)
2014-05-13 17:01:26 +02:00
wvengen
ed439d0b08 use minimal app_config for tests 2014-05-13 17:01:26 +02:00
wvengen
e883f4cfa7 fix last commit for non-js tests 2013-10-30 01:28:59 +01:00
wvengen
042fbdc3a3 maximise window before running tests 2013-10-30 01:03:51 +01:00
Manuel Wiedenmann
f462e70e49 uses FactoryGirl helpers 2013-09-18 12:44:41 +02:00
wvengen
ca50006235 add coverage report, set COVERAGE=1 in env when running specs 2013-07-25 14:00:08 +02:00
wvengen
0be3955cd7 Revert "cleaner way to set foodcoop scope"
This reverts commit 23a08b2ac8.

Conflicts:
	spec/spec_helper.rb
2013-07-24 22:06:53 +02:00
wvengen
a6114f137b add order integration spec 2013-07-24 21:25:57 +02:00
wvengen
23a08b2ac8 cleaner way to set foodcoop scope 2013-07-24 20:44:07 +02:00
wvengen
62682b7e64 make integration test work 2013-07-24 12:37:20 +02:00
wvengen
0d33922ed9 make integration spec work with javascript driver too 2013-07-24 02:58:53 +02:00
wvengen
d58ce31b7f add first integration test 2013-07-24 01:05:01 +02:00
wvengen
3c264f6225 add some rspec tests for supplier and article 2013-07-14 02:50:54 +02:00
wvengen
7fa8193010 start using rspec for tests 2013-07-12 20:06:49 +02:00