gitlab-org--gitlab-foss/spec/helpers/merge_requests_helper.rb
2014-06-13 18:10:28 +02:00

12 lines
280 B
Ruby

require 'spec_helper'
describe MergeRequestsHelper do
describe :issues_sentence do
subject { issues_sentence(issues) }
let(:issues) do
[build(:issue, iid: 1), build(:issue, iid: 2), build(:issue, iid: 3)]
end
it { should eq('#1, #2, and #3') }
end
end