Initial commit

This commit is contained in:
zhongjin
2020-06-15 10:58:47 +08:00
commit 4f1dfe7564
8590 changed files with 1516878 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
require 'spec_helper'
describe User do
before(:all) do
@user = create_user :email => 'admin@example.com', :username => 'admin', :password => 'admin123'
end
after(:all) do
bypass_named_maps
@user.destroy
end
before(:each) do
CartoDB::Varnish.any_instance.stubs(:send_command).returns(true)
end
it "should pass all the sql tests" do
@user.should pass_sql_tests
end
end