gitlab-org--gitlab-foss/spec/models/application_setting_spec.rb

22 lines
631 B
Ruby
Raw Normal View History

2015-01-22 12:40:03 -05:00
# == Schema Information
#
# Table name: application_settings
#
# id :integer not null, primary key
# default_projects_limit :integer
2015-01-25 16:23:28 -05:00
# default_branch_protection :integer
# signup_enabled :boolean
# signin_enabled :boolean
# gravatar_enabled :boolean
# sign_in_text :text
# created_at :datetime
# updated_at :datetime
# home_page_url :string(255)
2015-01-22 12:40:03 -05:00
#
require 'spec_helper'
describe ApplicationSetting, models: true do
it { expect(ApplicationSetting.create_from_defaults).to be_valid }
end