Elliott Stoneham
685865151a
make JWT salt a parameter
2016-06-14 20:36:16 +01:00
Elliott Stoneham
72c2429645
Merge branch 'master' into pre-release-tidy
2016-06-14 20:27:11 +01:00
Lennex Zinyando
b04f1ea0f6
Merge pull request #3 from documize/acceptance-tests
...
Acceptance tests and Ember-Ajax
2016-06-14 19:27:05 +02:00
Elliott Stoneham
b5a0fbdd7e
Modify README.md in light of Enes setup issues
2016-06-14 16:05:14 +01:00
Elliott Stoneham
b7f22edb80
fix section_test.go + minor lint issues
2016-06-14 15:29:30 +01:00
zinyando
f22a4a582b
Uncomment not-found route in router
2016-06-14 16:11:22 +02:00
zinyando
4acc73174f
WIP cleaning up mirage config file
2016-06-13 12:22:03 +02:00
zinyando
2994aa8287
Cleanup and fix issues caused by refactoring to ember-ajax
2016-06-13 12:22:03 +02:00
zinyando
acf4cc4478
Fix jshint errors and cleanup
2016-06-13 12:22:03 +02:00
zinyando
d856879e82
Comment out tests with tooltips
2016-06-13 12:22:03 +02:00
zinyando
9fa6e0d055
Fix permissions test
2016-06-13 12:22:03 +02:00
zinyando
4f6ad04995
Fix ember-ajax refactor issues
2016-06-13 12:22:03 +02:00
zinyando
bb08df142f
WIP refactor to use factories
2016-06-13 12:22:03 +02:00
zinyando
df62973eb4
Minor tweaks and fixes to broken tests
2016-06-13 12:22:03 +02:00
zinyando
a2bf51d144
Refactor to ember-ajax
2016-06-13 12:22:03 +02:00
zinyando
41fd9b68a2
WIP Converting routes to use factories
2016-06-13 12:22:03 +02:00
zinyando
ac9b749dd2
Add guard to check whether tests are running
2016-06-13 12:22:03 +02:00
zinyando
368bb6850e
Use factories in tests
2016-06-13 12:22:03 +02:00
zinyando
05bd894d45
Clean up helpers
2016-06-13 12:22:03 +02:00
zinyando
99e4057fad
Add factories to refactor cleanup mirage config
2016-06-13 12:22:03 +02:00
zinyando
97d2bd2a0e
Delete unused helper
2016-06-13 12:22:03 +02:00
zinyando
78e22379dc
Add waitToDisappear helper and minor cleanup
2016-06-13 12:22:03 +02:00
zinyando
81ecb75391
Use app meta factory in tests
2016-06-13 12:22:03 +02:00
zinyando
f9fc236e27
Enable login test
2016-06-13 12:22:03 +02:00
zinyando
11fd32cf83
Start work to use factories in mirage instead of gard coded respenses
2016-06-13 12:22:03 +02:00
zinyando
57a1e30df7
WIP helper for tests with allow anon access set to true
2016-06-13 12:22:03 +02:00
zinyando
b0ce9e74f8
Stub user notifications component
2016-06-13 12:22:03 +02:00
zinyando
ec605d8917
Add more tests
2016-06-13 12:22:03 +02:00
zinyando
dcb610e156
Add more tests and missing routes to mirage
2016-06-13 12:22:03 +02:00
zinyando
403406674c
Initial document space tests
2016-06-13 12:22:03 +02:00
zinyando
43eb62f08e
Add wait-to-appear helper
2016-06-13 12:22:03 +02:00
zinyando
3f0d98a5b0
Install ember-ajax and refactor add method in user service and controller
2016-06-13 12:22:03 +02:00
zinyando
6e71dbc234
Move anon tests into separate files
2016-06-13 12:22:03 +02:00
zinyando
20849c53a8
Minor tweaks and changes
2016-06-13 12:22:03 +02:00
zinyando
6e933d4939
Start work on user settings tests
2016-06-13 12:22:03 +02:00
zinyando
4ac921ca43
Add user profile tests
2016-06-13 12:22:03 +02:00
zinyando
58ca137911
Tests for when Anon access is enabled or disabled
2016-06-13 12:22:03 +02:00
zinyando
0db8152143
Add more stubbed api routes
2016-06-13 12:22:03 +02:00
zinyando
f4b003525d
Add missing routes to mirage
2016-06-13 12:22:03 +02:00
zinyando
6ca10b277c
Add helpers to moduleForAcceptance and added helper names to prevent jshint warnings
2016-06-13 12:22:03 +02:00
zinyando
5a4dc1534f
Initial auth tests and tests for allowAnonymousAccess
2016-06-13 12:22:03 +02:00
zinyando
a46beecdf5
Add user login helper
2016-06-13 12:22:03 +02:00
zinyando
06d21f20c8
Inject different session and audit services for tests
2016-06-13 12:22:03 +02:00
zinyando
fc57dffc15
Wrap async code in Ember.run
2016-06-13 12:22:03 +02:00
zinyando
51f934a0ee
Add appMeta model and getSessionItem method
2016-06-13 12:22:03 +02:00
zinyando
c07aaafd13
Use get method to prevent exeptions when properties are missing
2016-06-13 12:22:03 +02:00
zinyando
e7843e17b9
Use get method to prevent exeptions when properties are missing
2016-06-13 12:22:03 +02:00
zinyando
38062eeb82
Added ability to stub session
2016-06-13 12:22:03 +02:00
zinyando
e2037958f4
Added option to disable audit in tests
2016-06-13 12:22:03 +02:00
zinyando
9ba3f3b3f2
Removed storeConfigInMeta=false from ember-cli-build.js
...
EmberCLI uses this functionality to provide custom environment variables for Testing environment.
Without this, Testing doesn't get proper locationType.
Why was this changed?
2016-06-13 12:22:03 +02:00