Browse files

Update test_server_spec.rb for 1.2 changes, which include 2I/test-cap…

…able memory backend.
  • Loading branch information...
1 parent 7146d04 commit 693ad8e8ac199e2585c64b8c207d6279045c471f @seancribbs seancribbs committed Jun 14, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 spec/integration/riak/test_server_spec.rb
View
8 spec/integration/riak/test_server_spec.rb
@@ -12,7 +12,13 @@
end
it "should use the KV test backend" do
- backend = subject.version < "1.0.0" ? :riak_kv_test014_backend : :riak_kv_test_backend
+ backend = if subject.version < "1.0.0"
+ :riak_kv_test014_backend
+ elsif subject.version < "1.2.0"
+ :riak_kv_test_backend
+ else
+ :riak_kv_memory_backend
+ end
subject.kv_backend.should == backend
subject.env[:riak_kv][:storage_backend].should == backend
app_config.should include("{storage_backend, #{backend}}")

0 comments on commit 693ad8e

Please sign in to comment.