26 lines
592 B
Ruby
26 lines
592 B
Ruby
require 'neo4j-core'
|
|
require 'database_cleaner/neo4j/transaction'
|
|
require 'database_cleaner/spec'
|
|
|
|
module DatabaseCleaner
|
|
module Neo4j
|
|
|
|
RSpec.describe Transaction do
|
|
before(:all) do
|
|
DatabaseCleaner[:neo4j, :connection => {:type => :server_db, :path => 'http://localhost:7474'}]
|
|
end
|
|
|
|
it_should_behave_like "a generic strategy"
|
|
it_should_behave_like "a generic transaction strategy"
|
|
|
|
describe "start" do
|
|
it "should start a transaction"
|
|
end
|
|
|
|
describe "clean" do
|
|
it "should finish a transaction"
|
|
end
|
|
end
|
|
end
|
|
end
|