summaryrefslogtreecommitdiff
path: root/spec/models/namespace/root_storage_statistics_spec.rb
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