Commit Graph

358 Commits (d83dde0284fdaf7829b7d1862f171433a83dffe5)

Author SHA1 Message Date
Jan Sandbrink b374ebdd7f store messages alongside error symbols 9 years ago
Jan Sandbrink 138d3dba29 fix some specs 9 years ago
Jan Sandbrink dcd2a3b03c rework error instantiation 9 years ago
Jan Sandbrink c586a9cc8c mock the model in model_contract_spec 9 years ago
Jan Sandbrink 13b9042293 treat all 422 errors the same for forms 9 years ago
Jan Sandbrink 8f110d8b93 adapt specs to new contract behaviour 9 years ago
Jan Sandbrink ac9cffe741 remove tautology and add apropriate specs 9 years ago
Jan Sandbrink e9059a97ee style 9 years ago
Jan Sandbrink ce0b906d91 dirty trick to allow using a Hash as mock 9 years ago
Jan Sandbrink 0b7b4bf329 extract error merging into contract 9 years ago
Alex Coles 0436446257 Revert "DRY WorkPackageSchema#available_custom_fields spec" 9 years ago
Alex Coles 8e47f600b0 DRY WorkPackageSchema#available_custom_fields spec 9 years ago
Alex Coles 837265c257 Fix API v3 WorkPackageSchema for AR::Relation 9 years ago
Alex Coles ce93701029 Fix syntax (w/Rubocop) in specs 9 years ago
Alex Coles 57618b25ec Replace dynamic finder usages with #find_by, etc. 9 years ago
Jan Sandbrink baaf452cbd style 9 years ago
Jan Sandbrink e50e18dba1 fix spec 9 years ago
Jan Sandbrink 4054c2ae22 add a removeWatcher link to work packages 9 years ago
Jan Sandbrink 6406b640b7 remove redundant spec 9 years ago
Jan Sandbrink db5d633850 update factories to new default preference 9 years ago
Alexander Bach 88bd8756b4 Add test descriptions 10 years ago
Alexander Bach ef88ca1339 Move out of place parenthesis back into position 10 years ago
Alexander Bach 8ae33c9d0f Simplify test setup 10 years ago
Alexander Bach a1ad5b92bf Refactor test to use helper_class 10 years ago
Alexander Bach 21ee97b19f Move test to proper location and benefit from it 10 years ago
Alexander Bach e7f080efbb Check link content as well 10 years ago
Alexander Bach 90ed907657 Ditch regex for more readable string 10 years ago
Alexander Bach 02cbe0165b Improve test setup and checks 10 years ago
Alexander Bach 16f67e8fb3 Clarify spec purpose 10 years ago
Alexander Bach f99b000ae8 Cleanup test 10 years ago
Alexander Bach 5d7a1d2cb4 Remove model_ prefix 10 years ago
Alexander Bach ce81b7f4f2 Add specs for create form api 10 years ago
Alexander Bach 0e9e986f7f Style fixes 10 years ago
Alexander Bach c88cb306dd Add all the specs 10 years ago
Alexander Bach 134dd61000 Fix spec once again 10 years ago
Alexander Bach 3ee80e98e8 Correct work_package_contract filename 10 years ago
Alexander Bach ba3770d97e Some style fixes 10 years ago
Alexander Bach 43229f73c7 Moved wp payload representer accordingly 10 years ago
Alexander Bach 2d074e8f47 Adapt form representer tests 10 years ago
Alexander Bach edddde9fc3 Merge form folder into work_packages folder 10 years ago
Alexander Bach 410e483fef Provide more flexible structure for work package contract validations 10 years ago
Alexander Bach 72f47e90fe Add test descriptions 10 years ago
Jan Sandbrink 92187cd6f7 simplify conditions + specs 10 years ago
Alexander Bach 4b45ad6a19 Move out of place parenthesis back into position 10 years ago
Alexander Bach 397d1d0d9b Simplify test setup 10 years ago
Alexander Bach 2bf44da03e Refactor test to use helper_class 10 years ago
Alexander Bach 4d6c724b11 Move test to proper location and benefit from it 10 years ago
Alexander Bach 34c684d4d3 Check link content as well 10 years ago
Alexander Bach 67c20cd7e6 Ditch regex for more readable string 10 years ago
Alexander Bach 071e1ffe62 Improve test setup and checks 10 years ago