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