added tests (still pending)

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@163 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent e81e79db14
commit bc6029023b
  1. 30
      spec/models/rate_spec.rb

@ -1,6 +1,36 @@
require File.dirname(__FILE__) + '/../spec_helper'
describe Rate do
fixtures :cost_types
fixtures :rates
describe "changing valid_from" do
it "should update all cost_entries correctly when rates change without changing order" do
pending
end
it "should update all cost_entries correctly when rates change order" do
pending
end
it "should update all cost_entries correctly when a rate is added before all other rates" do
pending
end
it "should update all cost_entries correctly when a rate is added after all other rates" do
pending
end
it "should update all cost_entries correctly when a rate is added between two other rates" do
pending
end
it "should update all cost_entries correctly when a rate is removed" do
pending
end
end
end
Loading…
Cancel
Save