spec/features/commits_spec.rb [8:20]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      @commit = FactoryGirl.create :commit, project: @project
      @build = FactoryGirl.create :build, commit: @commit
    end

    describe "GET /:project/commits/:sha" do
      before do
        visit project_ref_commit_path(@project, @commit.ref, @commit.sha)
      end

      it { expect(page).to have_content @commit.sha[0..7] }
      it { expect(page).to have_content @commit.git_commit_message }
      it { expect(page).to have_content @commit.git_author_name }
    end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/features/commits_spec.rb [52:64]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      @commit = FactoryGirl.create :commit, project: @project
      @build = FactoryGirl.create :build, commit: @commit
    end

    describe "GET /:project/commits/:sha" do
      before do
        visit project_ref_commit_path(@project, @commit.ref, @commit.sha)
      end

      it { expect(page).to have_content @commit.sha[0..7] }
      it { expect(page).to have_content @commit.git_commit_message }
      it { expect(page).to have_content @commit.git_author_name }
    end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



