I play with rails 4. I just created a very simple test for my model, but when I try to run "rake test: models", I get the following error:
C:\rails\project>rake test:models DL is deprecated, please use Fiddle rake aborted! Errno::EACCES: Permission denied @ unlink_internal - /tmp/db/new.sqlite3 C:/rails/project/test/test_helper.rb:3:in `<top (required)>' C:/rails/project/test/models/admin_test.rb:1:in `<top (required)>' Tasks: TOP => test:models (See full trace by running task with --trace)
The configuration of my test database is as follows:
test: adapter: sqlite3 database: /tmp/db/new.sqlite3 pool: 5 timeout: 5000
"/ tmp / db" is the directory in which I have full access to my personal laptop.
What ideas might be the source of this problem?
source share