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

root_storage_statistics_spec.rb « namespace « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f6fb5af5aae9c39e8c94436c31d6555e04eafe31 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Namespace::RootStorageStatistics, type: :model do
  it { is_expected.to belong_to :namespace }
  it { is_expected.to have_one(:route).through(:namespace) }

  it { is_expected.to delegate_method(:all_projects).to(:namespace) }
end