Use config_file, include backend module depending on config (closes #8)
This commit is contained in:
@@ -2,7 +2,6 @@ require_relative "spec_helper"
|
||||
|
||||
describe "App with Riak backend" do
|
||||
include Rack::Test::Methods
|
||||
include RemoteStorage::Riak
|
||||
|
||||
before do
|
||||
purge_all_buckets
|
||||
@@ -109,6 +108,11 @@ describe "App with Riak backend" do
|
||||
|
||||
indexes["directory_bin"].must_include "documents"
|
||||
end
|
||||
|
||||
# it "logs the operation" do
|
||||
# logs = storage_client.get_index("rs_opslog", "user_id_bin", "jimmy")
|
||||
# logs.count.must_equal 1
|
||||
# end
|
||||
end
|
||||
|
||||
describe "with explicit content type" do
|
||||
|
||||
Reference in New Issue
Block a user