Commit graph

87 commits

Author SHA1 Message Date
Devin Howard
7956e6d289 check map#contains matches json schema in spec 2016-02-09 11:20:39 +08:00
Devin Howard
451ed81010 remove tests that shouldn't be there 2016-02-08 12:01:59 +08:00
Devin Howard
17ee69b147 start fixing other controller specs 2016-02-08 11:56:46 +08:00
Devin Howard
e460899ea3 testing simplecov and rcov stuff 2016-02-08 11:19:39 +08:00
Devin Howard
d64fe002dc suppress devise warnings on rspec tests 2016-02-08 11:19:38 +08:00
Devin Howard
cc99ed001d fix mapping_controller_spec.rb 2016-02-08 11:19:38 +08:00
Devin Howard
46013bc1b5 start speccing out mappings controller 2016-02-08 11:19:38 +08:00
Devin Howard
fa3a725df9 mapping spec 2016-02-08 11:19:37 +08:00
Devin Howard
caa65c1170 metacode spec 2016-02-08 11:19:36 +08:00
Devin Howard
4a1e4ef333 refactor user factories to handle codes better 2016-01-07 15:47:45 +08:00
Devin Howard
7ea91273c8 remove random string spec helper function in favour of factory girl sequences 2015-12-21 10:59:20 +08:00
Devin Howard
7930f1a216 one test in metacode spec 2015-12-20 22:20:51 +08:00
Devin Howard
fe8794e814 fix topic spec 2015-12-20 22:18:40 +08:00
Devin Howard
f85bf74b2e synapse desc validation 2015-12-20 21:55:10 +08:00
Devin Howard
c7f7fa1d1b reorganize synapse spec pendingness 2015-12-18 09:35:56 +08:00
Devin Howard
63e4939592 remove TODO 2015-12-18 09:35:40 +08:00
Devin Howard
6bb8ac7e1f fix dumb errors - only 2 topic specs fail now 2015-12-18 09:33:16 +08:00
Devin Howard
ca282f7879 topic spec owner 2015-12-18 09:28:28 +08:00
Devin Howard
d2680fd9f3 permissions on synapse spec 2015-12-18 09:28:20 +08:00
Devin Howard
acd048bd0d can't properly use rspec on a boolean field validation 2015-12-18 09:28:08 +08:00
Devin Howard
4b22a856c3 synapse spec 2015-12-18 09:26:15 +08:00
Devin Howard
a4c309a677 finish topic spec 2015-12-18 09:26:07 +08:00
Devin Howard
cf6411988d topic spec - need to add permissions and fix 2 failing tests 2015-12-17 23:45:38 +08:00
Devin Howard
9522c30273 finish map spec permissions 2015-12-17 23:20:53 +08:00
Devin Howard
d5f66487b7 update map spec - add authorize_to_delete. TODO: add other map authorize specs 2015-12-17 09:44:48 +08:00
Devin Howard
696bac17e6 map spec 2015-12-17 09:16:02 +08:00
Devin Howard
1ff235f547 who needs routing specs bah 2015-12-16 22:36:41 +08:00
Devin Howard
a93473f2c9 rubocop spec folder 2015-12-16 22:33:29 +08:00
Devin Howard
846d04dd0d rubocop style updates 2015-12-16 22:19:58 +08:00
Devin Howard
ae1117338a set up devise authentication more srsly. Still doesn't pass the test though haha 2015-12-16 22:16:02 +08:00
Devin Howard
be3924aa54 setup bare minimum devise authentication in tests 2015-12-16 21:32:50 +08:00
Devin Howard
235d4f6c24 remove unneeded NEW tests, fix test.rb environment 2015-12-15 22:33:48 +08:00
Devin Howard
310222aef9 factories for synapse, topic, user 2015-10-19 15:23:49 +08:00
Devin Howard
e3a4207827 random_string helper function 2015-10-19 15:23:07 +08:00
Devin Howard
d913f50cf9 remove views specs and non-applicable routing specs 2015-10-12 17:19:16 +08:00
Devin Howard
25117cf0e6 add rspec scaffold tests and a test db environment 2015-10-12 11:45:59 +08:00
Devin Howard
16c47d75d4 delete test directory, add spec directory 2015-10-12 11:26:48 +08:00