spec/spec_helper.rb in architect4r-0.3.4.2 vs spec/spec_helper.rb in architect4r-0.4
- old
+ new
@@ -7,11 +7,11 @@
unless defined?(TEST_SERVER)
TEST_SERVER_CONFIG = {
:environment => :test,
:config => {
:host => 'localhost',
- :port => '7475',
+ :port => '7474',
:path => '',
:log_level => 'OFF'
}
}
@@ -21,15 +21,15 @@
RSpec.configure do |config|
config.color_enabled = true
neo_manager = Architect4r::InstanceManager.new(File.join(File.dirname(__FILE__), '../neo4j_server'))
config.before(:suite) do
- neo_manager.reset_to_sample_data(File.join(File.dirname(__FILE__), "fixtures/graph.db.default/"))
+ neo_manager.reset
neo_manager.start
end
config.after(:suite) do
- #neo_manager.stop
+ neo_manager.stop
end
end
class Person < Architect4r::Model::Node
use_server TEST_SERVER
\ No newline at end of file