Commit Graph

844 Commits (d414bce9941f8a0c498a0e2c66a5096081e005bc)

Author SHA1 Message Date
Philipp Tessenow 84c2d5694a fix random failing spec 12 years ago
Christian Ratz b601de119e fixed numbered headings 12 years ago
jwollert 45dbaf526a pull in changes from numbered_headings plugin 12 years ago
jwollert 487802dee7 migrate longer logins plugin to core 12 years ago
Philipp Tessenow 62b4fb8dc3 FactoryGirl executes the after(:build) even when the current strategy is :create 12 years ago
Philipp Tessenow 49cb9b7a2a forgot to rename p to project. sorry guys 12 years ago
Philipp Tessenow a778e2200e small readability refactoring of UserFactory 12 years ago
Philipp Tessenow 993e4e5634 wiki_controller_specs now explicitly set :en locale (which they test against) 12 years ago
Philipp Tessenow afb19d0974 no more rspec warnings 12 years ago
Philipp Tessenow ad87d65d6c refactor custom_field_tests 12 years ago
Philipp Tessenow 3aff5dd25f user factory can add the user to a project on build _and_ create now 12 years ago
Philipp Tessenow d0a849c9d2 CustomField#possible_values now takes locale options as :locale => :de instead of just :de 12 years ago
Martin Linkhorst 88fda30a3b ran spec install generator 12 years ago
Martin Linkhorst 4f0c0d5a88 allow the user to actually be able to watch the issue when testing it 12 years ago
Martin Linkhorst 003e3c066b fix wiki menu authentication specs 12 years ago
Martin Linkhorst b2e5462c5e fix wiki controller specs 12 years ago
Martin Linkhorst 8a7ff54190 rewrite selector assertions again 12 years ago
Martin Linkhorst 4fd2bac132 in tests it's better to fail early and raise an exception when a record is invalid when it shouldn't 12 years ago
Martin Linkhorst 06061c9f30 rewrite selector assertions 12 years ago
Martin Linkhorst 4819bd35ea clear test data before testing 12 years ago
Martin Linkhorst 7a8be55193 fix custom fields controller specs 12 years ago
Martin Linkhorst 74581292f4 the custom field needs an explicit english translation which differs from the other fields' name. if not it will fallback to the german value and this test would fail for the wrong reason. 12 years ago
Martin Linkhorst 85b34be86c make this test less brittle 12 years ago
Martin Linkhorst c6116730fa for this test it doesn't matter what is watched. for some reason wiki_content isn't watchable. 12 years ago
Martin Linkhorst f91288c679 set the deleted user's class 12 years ago
Philipp Tessenow ad4893cf8b set correct status for anonymous user in user_factory 12 years ago
Philipp Tessenow d92d03efe4 added issue_relation factory 12 years ago
Philipp Tessenow df4db5c7a5 make admin, anonymous, and deleted_user a subclass of the user factory 12 years ago
Philipp Tessenow df4be748f3 add factories for TimeEntryActivities 12 years ago
Martin Linkhorst 19bb1f2352 add a missing factory for tokens 12 years ago
Martin Linkhorst 7ecb38fa9c let tests fail more early 12 years ago
Martin Linkhorst 07f4204d7e Revert "clear translations before testing" 12 years ago
Martin Linkhorst 3728f378f0 remove created custom fields before testing 12 years ago
Philipp Tessenow 0660af7630 do not crash when User.table_exists? is false and factories are loaded 12 years ago
Philipp Tessenow 91fa7675fd create issue at the right place in test_helper and dont create new anonymous users in the user_factory 12 years ago
Philipp Tessenow e3fa434f1f naming the ignored variable in user_factory 'project' and 'role' produced a major performance loss. fixed that 12 years ago
Philipp Tessenow 28c4caca2a do not create a role in user factory if not nesseccary 12 years ago
Philipp Tessenow a798eaec7c user factory can now assign multiple projects to the to-be-generated user 12 years ago
Philipp Tessenow 391b71da0a allow user factory to assign a project to a user 12 years ago
Philipp Tessenow 7b510e8196 give repository_factory a hopefully helpful comment 12 years ago
Philipp Tessenow 1eab937657 message factory generates correct content/subject sequences 12 years ago
Philipp Tessenow 83fd0e906f AttachmentFactory creates an author now 12 years ago
Philipp Tessenow 4d91d48ffc when using (User|Issue)CustomField factory, actually create a custom field for (user|issue) 12 years ago
Philipp Tessenow 38289e1b5a use sane default value for custom_field factory 12 years ago
Philipp Tessenow ba7001927d created CustomValue factory 12 years ago
Martin Linkhorst ffe37745c9 fix issue_category tests and migrate to factories 12 years ago
Philipp Tessenow 8d9adc0edc rename issue_priority_factory to enumerations_factory; added a default_enumeration-factory 12 years ago
Martin Linkhorst 77ad0464d9 name file containing custom_field's factory custom_field_factory.rb 12 years ago
Philipp Tessenow 3d749367c9 issue factory needs a project with trackers 12 years ago
Philipp Tessenow d41dcd02e6 now every issue created by FactoryGirl is valid. The valid_issue generator was removed 12 years ago