Commit 3b58966b authored by Shinya Maeda's avatar Shinya Maeda

Use parenthesis for respond_to :ref

parent cc6ac794
......@@ -3,7 +3,7 @@ require 'spec_helper'
describe Ci::TriggerSchedule, models: true do
it { is_expected.to belong_to(:project) }
it { is_expected.to belong_to(:trigger) }
it { is_expected.to respond_to :ref }
it { is_expected.to respond_to(:ref) }
describe '#schedule_next_run!' do
let(:trigger_schedule) { create(:ci_trigger_schedule, :nightly) }
......
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