compute real costs test is not pending anymore

git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1842 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
p.tessenow 14 years ago
parent bfff0a8e79
commit 920796881f
  1. 1
      spec/models/cost_query/result_spec.rb

@ -107,7 +107,6 @@ describe CostQuery do
end end
it "should compute real_costs for DirectResults" do it "should compute real_costs for DirectResults" do
pending "who's responsible for calculating the cost field?"
id_sorted = @query.result.values.sort_by { |r| r[:id] } id_sorted = @query.result.values.sort_by { |r| r[:id] }
[TimeEntry, CostEntry].each do |type| [TimeEntry, CostEntry].each do |type|
result = id_sorted.select { |r| r[:type]==type.to_s }.first result = id_sorted.select { |r| r[:type]==type.to_s }.first

Loading…
Cancel
Save