Commit Graph

85 Commits (dd498f21265e6b9ddf53c79ae2aa85bc02bfee72)

Author SHA1 Message Date
Christian Rijke b4ddb93028 Reset current user after test. 11 years ago
Christian Rijke c417557559 Rename and fix issue_spec. 11 years ago
Christian Rijke c1849f52e2 Convert hash key to symbol. 11 years ago
Christian Rijke 9968db24b3 Renamte 'tracker' to 'type'. 11 years ago
Christian Rijke 4d424a9a39 Replace 'issue' with 'work_package'. 11 years ago
Jens Ulferts 3afa464f69 permit cost_object to be set 11 years ago
Jens Ulferts f39f10d60c fixes references to now work_packages 11 years ago
Jens Ulferts 08f95300d4 stub current user to prevent side effects 11 years ago
Hagen Schink 5ec2a40347 Fix specs 12 years ago
Christian Rijke 8dd87d345c [OPF #995] Replace instance variables with local variables and rename "example" variables, as that name is used by rspec internally already. 12 years ago
Jens Ulferts 098db35478 improve user_spec robustness by ignoring order 12 years ago
Sebastian Schuster af48a91137 Removed budget signoff attributes and references to it 12 years ago
Sebastian Schuster f531515058 Pluralized user_rate to user_rates as it actually refers to multiple rates 12 years ago
Jens Ulferts a9c9b12836 adds user_rates to permitted_params 12 years ago
Jens Ulferts 5c0c807b68 specs and refactors User#set_existing_rate 12 years ago
Michael Frister 4185a41dce Namespace shared example groups conflicting with meetings 12 years ago
Christian Rijke cdb01d8519 Fix time entry specs. 12 years ago
Christian Rijke bfd22da269 Fix date loop in spec. 12 years ago
Christian Rijke 38e62c1204 Fix time entry spec. 12 years ago
Sebastian Schuster 2b04d0a07d Removed unused mass assignment whitelisting and corresponding specs 12 years ago
Christian Rijke 5621724cd0 Reload test objects. 12 years ago
Christian Rijke e0505ce62b Replace fixtures with factories. 12 years ago
Christian Rijke f90e188e07 Remove plugin_helper require (it's already being required from spec_helper) 12 years ago
Christian Rijke 592ae7cf13 Set correct project in spec. 12 years ago
Christian Rijke 5996a9a397 Fix date loop and use correct project id. 12 years ago
Christian Rijke 3aa2ec27e4 Force initialization of hourly rate values in specs. 12 years ago
Jens Ulferts c30b2649a3 fixes strong_params for cost_types nexted attributes 12 years ago
Christian Rijke a5dda42828 Replace fixures with factories. 12 years ago
Sebastian Schuster 58fab0dea4 Removed attr_accessible for cost models and replaced with strong parameters 12 years ago
Jens Ulferts 9fbcb42934 protects cost_entry with strong_parameters 12 years ago
Jens Ulferts 698b9e5a32 changes used factory 12 years ago
Jens Ulferts e9e0ed6855 uses current changed_data method 12 years ago
Jens Ulferts c09c8e1e4c specs errors according to rails3 12 years ago
Jens Ulferts bc357e453f specs errors according to rails3 12 years ago
Jens Ulferts 69afb09e70 ports FactoryGirl usage to current schema 12 years ago
Jens Ulferts 9759374070 remove spec speccing now unimplemented custom allowed to behavior 12 years ago
Jens Ulferts 84e89f0b90 completely removes custom allowance evaluation (granular_for, inheritance) 12 years ago
Jens Ulferts 0856d07a9e prevents non existent permission to always be allowed 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 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
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