Commit Graph

105 Commits (e1ee56b085bca4881259ce49ca8f9f5edc82a53c)

Author SHA1 Message Date
Jan Sandbrink f766454123 Make specs resilient against timezone issues 9 years ago
Alex Coles 770a4a6097 Remove redundant .all call in AR query chains 9 years ago
Jens Ulferts f83713d855 various finder replacement to be rails 4.1 compatible 9 years ago
Jens Ulferts 73930b9aa0 adapt to changed move_to_project implementation 9 years ago
Alex Coles ccb4268793 Normalise syntax with Rubocop 9 years ago
Alex Coles 16fb352d8d Use 1.9+ Hash syntax 9 years ago
Alexander Bach 38a7ea3be2 Simplified test setup 10 years ago
Alexander Bach e82ed6d582 Fixed hound complaints 10 years ago
Alexander Bach e9435ee055 Added specs to make sure all of the time entries visible to the user are considered 10 years ago
Alex Coles dc7b71a110 Use #describe with String arg not symbol 10 years ago
Jens Ulferts a01e7cbb92 fix specs broken by automatic rspec transformation 10 years ago
Alex Coles 56b07b0a87 Cleanup whitespace 10 years ago
Alex Coles 714966de5c Convert specs to RSpec 2.99.0 syntax with Transpec 10 years ago
Alex Coles 8cd802c0df Convert specs to RSpec 2.99.0 syntax with Transpec 11 years ago
Sebastian Schuster 268567297c Added copyright notices 11 years ago
Till Breuer 5004b5aad3 Add budget to permitted params of budget item (fixes #2200) 11 years ago
Till Breuer 2a27acc187 Add controller spec for cost object updates via context menu 11 years ago
Jens Ulferts a52b8a983c reenables handling cost entries on work packages to destroy 11 years ago
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