Commit Graph

1100 Commits (5aa2d31c64f7cfc7f09403dbe1171ee0fc9a41c3)

Author SHA1 Message Date
Jan Sandbrink 1b5bb5ba98 use AR errors as mock 9 years ago
Jan Sandbrink 88e052a53e style 9 years ago
Jan Sandbrink bc30b28558 extract attribute name conversion into extra class 9 years ago
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
Jens Ulferts 11b906dfd7 introducing a setting to disable cf class caching 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
Alex Coles 61d77c721b Fix TextFormatting#format_text specs w/requests 10 years ago
Jan Sandbrink baaf452cbd style 10 years ago
Jan Sandbrink e50e18dba1 fix spec 10 years ago
Jan Sandbrink 4054c2ae22 add a removeWatcher link to work packages 10 years ago
Jan Sandbrink 6406b640b7 remove redundant spec 10 years ago
Jan Sandbrink db5d633850 update factories to new default preference 10 years ago
Florian Kraft ccb2a6032e repair legacy specs 10 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