summaryrefslogtreecommitdiff
path: root/spec/features/security
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-07-16 15:01:20 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-07-22 00:01:17 -0400
commit421b06508d6ddc76c90ed8e54271dfb18e5c5833 (patch)
tree60e799f0b075dead6f35ca552dd54d479f5be1b9 /spec/features/security
parenta2ecfdc5859c1703dbbad6dde888f7a0eb5817c8 (diff)
downloadgitlab-ce-421b06508d6ddc76c90ed8e54271dfb18e5c5833.tar.gz
Remove be_not_found_for matcher
It was only used in one test, and the test was kind of redundant.
Diffstat (limited to 'spec/features/security')
-rw-r--r--spec/features/security/profile_access_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/features/security/profile_access_spec.rb b/spec/features/security/profile_access_spec.rb
index 847566d0de9..eee2588408a 100644
--- a/spec/features/security/profile_access_spec.rb
+++ b/spec/features/security/profile_access_spec.rb
@@ -6,11 +6,6 @@ describe "Profile access", feature: true do
before do
@u1 = create(:user)
end
-
- describe "GET /login" do
- it { expect(new_user_session_path).not_to be_not_found_for :visitor }
- end
-
describe "GET /profile/keys" do
subject { profile_keys_path }