From bf71d53f634926bee91955c8ecee7a3869fcd518 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Wed, 17 Jun 2015 21:30:58 -0400 Subject: Change `to_not` calls to `not_to` Both work, but now we're consistent across the entire app. --- spec/controllers/commit_controller_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/controllers/commit_controller_spec.rb') diff --git a/spec/controllers/commit_controller_spec.rb b/spec/controllers/commit_controller_spec.rb index 2cfa399a047..34ee61f7ede 100644 --- a/spec/controllers/commit_controller_spec.rb +++ b/spec/controllers/commit_controller_spec.rb @@ -40,10 +40,10 @@ describe Projects::CommitController do get(:show, namespace_id: project.namespace.to_param, project_id: project.to_param, id: commit.id, format: format) - expect(response.body).to_not include('&') - expect(response.body).to_not include('>') - expect(response.body).to_not include('<') - expect(response.body).to_not include('"') + expect(response.body).not_to include('&') + expect(response.body).not_to include('>') + expect(response.body).not_to include('<') + expect(response.body).not_to include('"') end end -- cgit v1.2.1