Welcome to mirror list, hosted at ThFree Co, Russian Federation.

application_setting_spec.rb « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cd6d03e6c1a6bd3688831470610421f09972e833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# == Schema Information
#
# Table name: application_settings
#
#  id                         :integer          not null, primary key
#  default_projects_limit     :integer
#  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)
#

require 'spec_helper'

describe ApplicationSetting, models: true do
  it { ApplicationSetting.create_from_defaults.should be_valid }
end