require File.join(File.dirname(__FILE__), '..', 'application.rb')

require 'sinatra'
require 'rack/test'
require 'rspec'

set :environment, :test

Rspec.configure do |config|

  config.before(:each) do
    [User, Project].each { |model| model.delete_all }
  end

end

require File.join(File.dirname(__FILE__), '..', 'application.rb')

require 'sinatra'
require 'rack/test'
require 'rspec'

set :environment, :test

Rspec.configure do |config|
end

--- 
+++ 
@@ -7,4 +7,9 @@
 set :environment, :test
 
 Rspec.configure do |config|
+
+  config.before(:each) do
+    [User, Project].each { |model| model.delete_all }
+  end
+
 end
Remove all Users and Projects before each test
