Slightly simplify tests for not_staff scope.

There's no reason to set a location on the test member.
This commit is contained in:
Miles Gould
2013-06-24 17:59:17 +01:00
parent d26dd4499c
commit 2d8128e54d

View File

@@ -255,7 +255,7 @@ describe 'member' do
context 'not_staff scope' do
it 'should not include staff members' do
@member1 = FactoryGirl.create(:south_pole_member)
@member1 = FactoryGirl.create(:member)
@member1.account_type = FactoryGirl.create(:staff_account_type)
Member.not_staff.should_not include @member1
end