Commit Graph

245 Commits (693aff4b8d5c92e4888d52cc196867ae10cd07bb)

Author SHA1 Message Date
Jens Ulferts 0856d07a9e prevents non existent permission to always be allowed 12 years ago
Jens Ulferts 8f2cb9bcec prevents exponential calls when having a permission that has a 12 years ago
Gregor Schmidt e510f814a7 Removing incomplete patches to group/membership models 12 years ago
Jens Ulferts 6797b78099 rewrite cost_entry_spec to no longer use fixtures 13 years ago
Jens Ulferts b69d6dca86 have a deleted_user_fallback mixin and cost_entry, labor_budget_item and rate using it 13 years ago
Jens Ulferts 72b7922e72 adding missing validations to labor budget items, specs for the model 13 years ago
Jens Ulferts b5622169ab adding factories 13 years ago
Jens Ulferts ec67244d91 spec that labor_budget_items, hourly_rates and default_hourly_rates keep their user_id even when the associated user is deleted 13 years ago
Jens Ulferts 250330a2d2 removing duplicate validations on rate, refactoring date is a date validation 13 years ago
Jens Ulferts 3114e8125a testing that group_user gets deleted when a user is destroyed 13 years ago
Jens Ulferts cd34ae5fda assign User.current as author as author of a cost_object at initialization, not on before_validation; removed superfluous before_destroy 13 years ago
Jens Ulferts a80b7ee472 deleting the user sets the auhorship of associated cost object to the deleted user 13 years ago
Martin Linkhorst 8c1202b95d just fixed a failing test 13 years ago
Jens Ulferts 2597b05786 specfix: using current date to make postgresql happy 13 years ago
Jens Ulferts 3d4ea2c4cc split up costlog controller edit into new, create, edit, update 13 years ago
Jens Ulferts a762a8d9af specfix: restoring original permissions so they do not interfere with other tests 13 years ago
jwollert 8da4ea31ec fixin' ALL the tests 13 years ago
Jens Ulferts 7a3f52f34c rewritten allowed_to? modification to be compatible with new core implementation 13 years ago
Romano Licker ddb2dcbbf8 testing recreate_initial_journal! for cost_objects 13 years ago
Jens Ulferts 5027a42a8d acts_as_journalized for variable_cost_object 13 years ago
Tim Felgentreff 02c44365b2 Fix for #3962 14 years ago
Konstantin Haase b03e1bfe05 fix spec helper 14 years ago
Philipp Tessenow 943c1efdda moved redmine_costs back to root folder 14 years ago
Philipp Tessenow cbdda0bcb0 moved redmine_costs into a subfolder 14 years ago
Philipp Tessenow 886418492f removed the newly introduced plugin-folder 14 years ago
Philipp Tessenow 9504318729 move plugin into a subfolder. this enables us to have multiple plugins wihtin a repo and makes deployment easier 14 years ago
t.felgentreff 98a4f2f947 Revert "add CI reporter to spec_helpers" 15 years ago
t.felgentreff 3a105ac404 add CI reporter to spec_helpers 15 years ago
t.felgentreff 85c3e764b6 only set the environment if it hasn't been set previously 15 years ago
hjust 33c0c13abc Added test for nullifying cost objects on issues 15 years ago
rkh d423d51c61 remove some line messing with the specs 15 years ago
rkh 2bf8de9052 updating part 2, there we go 15 years ago
rkh 5fe8faae2f updating part 1, stay tuned 15 years ago
rkh 16675993a9 that line causes issues 15 years ago
rkh 96f98cdbd9 fixing tests and fixtures 15 years ago
rkh 797012f929 fix enumeration fixutrues 15 years ago
rkh 030147ab15 more fixes for redmine trunk switch 15 years ago
rkh 4162d3b4c6 fixted specs 15 years ago
rkh a6e3bf046d added specs for changing rates order 15 years ago
hjust 4d86637597 first try on cost reporting. Still incomplete, so it will not be of any usefulness yet. This will improve later on (hopefully). 15 years ago
rkh cf2760a8b4 shoud be able to switch between default hourly rate and hourly rate 15 years ago
rkh 7d4760d9aa default hourly rates specs 15 years ago
rkh aafd46759b ported cost_entry specs to time_entry 15 years ago
rkh 57f9880b5c created time entry spec 15 years ago
rkh 932daa29f8 should update cost if a new rate is added in between 15 years ago
rkh 2fa7916426 make all tests pass 15 years ago
rkh 45045c979d make 'should update cost if a spent_on changes' spec pass 15 years ago
rkh ce0192ec8e added spec for removing rates 15 years ago
rkh 826d18aa02 spec for changing spent_on on a cost_entry 15 years ago
rkh df6232171d more specs, more fixtures. one still failing 15 years ago