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

Rename last uses of Buildbox to Buildkite

parent 93b17677
......@@ -81,7 +81,7 @@ class Project < ActiveRecord::Base
has_one :asana_service, dependent: :destroy
has_one :gemnasium_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 :teamcity_service, dependent: :destroy
has_one :pushover_service, dependent: :destroy
......
......@@ -20,9 +20,7 @@
require "addressable/uri"
# Buildbox renamed to Buildkite, but for backwards compatability with the STI
# of Services, the class name is kept as "Buildbox"
class BuildboxService < CiService
class BuildkiteService < CiService
ENDPOINT = "https://buildkite.com"
prop_accessor :project_url, :token
......
......@@ -125,7 +125,7 @@ class Service < ActiveRecord::Base
asana
assembla
bamboo
buildbox
buildkite
campfire
custom_issue_tracker
emails_on_push
......
......@@ -19,7 +19,7 @@
require 'spec_helper'
describe BuildboxService do
describe BuildkiteService do
describe 'Associations' do
it { is_expected.to belong_to :project }
it { is_expected.to have_one :service_hook }
......@@ -32,7 +32,7 @@ describe BuildboxService do
default_branch: 'default-brancho'
)
@service = BuildboxService.new
@service = BuildkiteService.new
@service.stub(
project: @project,
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