Commit Graph

155 Commits (cf2760a8b4ec049540c27e9e17924efdbad9f21f)
 

Author SHA1 Message Date
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 94f56b7b19 let saving a cost_rate fail if updating the corresponding issue fails, too 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 da47dd74dd small refactoring 15 years ago
rkh df6232171d more specs, more fixtures. one still failing 15 years ago
rkh 986b665a5e honour spec.opts in rake task 15 years ago
rkh 8b2a86b2f5 minor edge case fixes for CostEntry cost updating 15 years ago
rkh 9c07a7e09e make sure we are in test env when running specs 15 years ago
rkh af24eae1ac make sure current_user is an admin when running tests 15 years ago
rkh 1a36280dc5 added admin user to fixtures 15 years ago
rkh f890ed2e0f try to save model, currently fails. 15 years ago
rkh e28852200f typo 15 years ago
rkh 3261865964 changing structure of cost_entry spec 15 years ago
rkh 9841b074df fix for migration (so it works with sqlite) 15 years ago
rkh 05876b433d first passing spec 15 years ago
rkh 6ac942279b load fixtures from plugin directory 15 years ago
rkh adbbe77bc3 fixed fixtures 15 years ago
rkh 8b2598d899 added fixtures for redmine projects 15 years ago
rkh cb8f6ef5ce hourly cost entries would not make that much sense, i guess 15 years ago
rkh 15a9bc3d44 spec is for cost entries, not for rates directly 15 years ago
rkh 8985fb4b70 more fixtures 15 years ago
rkh 42113c8b79 renamed: rate_spec.rb -> cost_rate_spec.rb 15 years ago
rkh 9e1172b79b renamed: rates.yml -> cost_rates.yml 15 years ago
rkh 42e21b68d5 make sure we always require the same path 15 years ago
rkh 36bde341cd fixed test-unit dependency issue 15 years ago
hjust 1284043503 pluralized cost reports label 15 years ago
hjust ae2c232718 delete generated stub tests as we use rspec 15 years ago
hjust 0c3631914c added initial structures for cost report 15 years ago
rkh 968bf2a0e2 moved spec to correct context 15 years ago
rkh bc6029023b added tests (still pending) 15 years ago
rkh e81e79db14 added fixtures 15 years ago
rkh dad59132f2 setting RAILS_ROOT will prevent RAILS_ROOT/spec/spec_helper.rb from loading environment, fixed 15 years ago
rkh 98863e4fb8 integrate with rails rake tasks instead of having own rakefile, solves RAILS_ROOT issue 15 years ago
rkh 6b64866060 set up rspec so you only have to run rake inside project directory 15 years ago
rkh 90dae27b9c added spec_helper 15 years ago
rkh 806fa330dd added unloadable to controllers again, to fix development issues 15 years ago
hjust 79cdba76ae removed a multitude of unloadable 15 years ago
hjust 57ef6ed208 removed some validations 15 years ago
hjust 1009fe61d9 Added special logic for cost columns where "none" means 0.0 instead of NULL on database level 15 years ago
hjust 99d9f7bc67 costs are 0.0 by default 15 years ago
hjust 558ff92afb forgot to delete a bracket 15 years ago
hjust 5787c75117 changed rate.id to rate_id to circumvent nil problems 15 years ago
hjust 44ff7df69e fixed edge case where current rate is nil and no rate was provided 15 years ago