BigW Consortium Gitlab

service_hook_spec.rb 746 Bytes
Newer Older
1 2 3 4
# == Schema Information
#
# Table name: web_hooks
#
5 6 7
#  id                    :integer          not null, primary key
#  url                   :string(255)
#  project_id            :integer
Dmitriy Zaporozhets committed
8 9
#  created_at            :datetime
#  updated_at            :datetime
10 11 12 13 14
#  type                  :string(255)      default("ProjectHook")
#  service_id            :integer
#  push_events           :boolean          default(TRUE), not null
#  issues_events         :boolean          default(FALSE), not null
#  merge_requests_events :boolean          default(FALSE), not null
Dmitriy Zaporozhets committed
15
#  tag_push_events       :boolean          default(FALSE)
16 17 18 19 20 21 22 23 24
#

require "spec_helper"

describe ServiceHook do
  describe "Associations" do
    it { should belong_to :service }
  end
end