spec/relaxo/model/model_context.rb in relaxo-model-0.17.1 vs spec/relaxo/model/model_context.rb in relaxo-model-0.17.2

- old
+ new

@@ -70,10 +70,10 @@ view :by_name, :type, 'by_name', index: unique(:name) end RSpec.shared_context "model" do - let(:database_path) {File.join(__dir__, 'test')} + let(:database_path) {'tmp/model'} let(:database) {Relaxo.connect(database_path)} let(:document_path) {'test/document.json'} before(:each) {FileUtils.rm_rf(database_path)}