Commit 421b0650 authored by Robert Speicher's avatar Robert Speicher

Remove be_not_found_for matcher

It was only used in one test, and the test was kind of redundant.
parent a2ecfdc5
...@@ -6,11 +6,6 @@ describe "Profile access", feature: true do ...@@ -6,11 +6,6 @@ describe "Profile access", feature: true do
before do before do
@u1 = create(:user) @u1 = create(:user)
end end
describe "GET /login" do
it { expect(new_user_session_path).not_to be_not_found_for :visitor }
end
describe "GET /profile/keys" do describe "GET /profile/keys" do
subject { profile_keys_path } subject { profile_keys_path }
......
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