Skip to content
Snippets Groups Projects

Cleanup Ci::Commit, Ci::Build and CommitStatus views

Merged Kamil Trzciński requested to merge fix-commit-status-rendering into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -23,7 +23,7 @@
@@ -23,7 +23,7 @@
let(:commit) { FactoryGirl.create :ci_commit, project: project }
let(:commit) { FactoryGirl.create :ci_commit, project: project }
it { is_expected.to belong_to(:project) }
it { is_expected.to belong_to(:project) }
it { is_expected.to have_many(:commit_statuses) }
it { is_expected.to have_many(:statuses) }
it { is_expected.to have_many(:trigger_requests) }
it { is_expected.to have_many(:trigger_requests) }
it { is_expected.to have_many(:builds) }
it { is_expected.to have_many(:builds) }
it { is_expected.to validate_presence_of :sha }
it { is_expected.to validate_presence_of :sha }
Loading