You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
407 B
21 lines
407 B
4 years ago
|
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
|