Commit cbe80775 authored by serenafang's avatar serenafang

Add expires at to spec

parent da1d02bd
......@@ -4,7 +4,7 @@ require 'spec_helper'
RSpec.describe Gitlab::HookData::GroupMemberBuilder do
let_it_be(:group) { create(:group) }
let_it_be(:group_member) { create(:group_member, :developer, group: group) }
let_it_be(:group_member) { create(:group_member, :developer, group: group, expires_at: 1.day.from_now) }
describe '#build' do
let(:data) { described_class.new(group_member).build(event) }
......
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