Skip to content

Commit 04a8436

Browse files
Remove test that is already done in unit test
This test is not asserting against anything on the page. There is already coverage for this in the volunteers model spec.
1 parent 4cc3bfe commit 04a8436

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

spec/system/volunteers/invite_spec.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,4 @@
200200
expect(page).to have_selector(".alert", text: "Sorry, you are not authorized to perform this action.")
201201
end
202202
end
203-
204-
describe "invitation expiration" do
205-
let(:volunteer) { create(:volunteer, casa_org: organization) }
206-
207-
it "volunteers have invitation valid for 1 year" do
208-
volunteer.invite!(admin)
209-
210-
# Check that volunteer model has correct invitation period
211-
expect(Volunteer.invite_for).to eq(1.year)
212-
end
213-
end
214203
end

0 commit comments

Comments
 (0)