Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.1 on 2022-01-26 at 16:00 UTC+1 (a few minutes of down time)

Commit 307962a0 authored by Robert Speicher's avatar Robert Speicher
Browse files

Rename last uses of Buildbox to Buildkite

parent d0a546b6d3fb
...@@ -81,7 +81,7 @@ def set_last_activity_at ...@@ -81,7 +81,7 @@ def set_last_activity_at
has_one :asana_service, dependent: :destroy has_one :asana_service, dependent: :destroy
has_one :gemnasium_service, dependent: :destroy has_one :gemnasium_service, dependent: :destroy
has_one :slack_service, dependent: :destroy has_one :slack_service, dependent: :destroy
has_one :buildbox_service, dependent: :destroy has_one :buildkite_service, dependent: :destroy
has_one :bamboo_service, dependent: :destroy has_one :bamboo_service, dependent: :destroy
has_one :teamcity_service, dependent: :destroy has_one :teamcity_service, dependent: :destroy
has_one :pushover_service, dependent: :destroy has_one :pushover_service, dependent: :destroy
......
...@@ -20,9 +20,7 @@ ...@@ -20,9 +20,7 @@
require "addressable/uri" require "addressable/uri"
# Buildbox renamed to Buildkite, but for backwards compatability with the STI class BuildkiteService < CiService
# of Services, the class name is kept as "Buildbox"
class BuildboxService < CiService
ENDPOINT = "https://buildkite.com" ENDPOINT = "https://buildkite.com"
prop_accessor :project_url, :token prop_accessor :project_url, :token
......
...@@ -125,7 +125,7 @@ def self.available_services_names ...@@ -125,7 +125,7 @@ def self.available_services_names
asana asana
assembla assembla
bamboo bamboo
buildbox buildkite
campfire campfire
custom_issue_tracker custom_issue_tracker
emails_on_push emails_on_push
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
require 'spec_helper' require 'spec_helper'
describe BuildboxService do describe BuildkiteService do
describe 'Associations' do describe 'Associations' do
it { is_expected.to belong_to :project } it { is_expected.to belong_to :project }
it { is_expected.to have_one :service_hook } it { is_expected.to have_one :service_hook }
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
default_branch: 'default-brancho' default_branch: 'default-brancho'
) )
@service = BuildboxService.new @service = BuildkiteService.new
@service.stub( @service.stub(
project: @project, project: @project,
service_hook: true, service_hook: true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment