Commit 1f3fc17c authored by peterhegman's avatar peterhegman

Switch to using `let` and `subject` for a spec

Per reviewer feedback
parent c368f302
......@@ -420,9 +420,9 @@ RSpec.describe GroupMember do
end
context 'when member does not have a related user (invited member)' do
it 'returns `false`' do
expect(invited.provisioned_by_this_group?).to eq(false)
end
let(:member) { invited }
it { is_expected.to eq(false) }
end
end
......
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