summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-17 21:30:58 -0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-22 12:13:49 +0200
commitbf71d53f634926bee91955c8ecee7a3869fcd518 (patch)
tree7e7a78de896f7aa154014420befcf1f01f6b0368 /spec/features
parent0f627f1c6046be06986ee0e6e46d390ec2c18507 (diff)
downloadgitlab-ce-bf71d53f634926bee91955c8ecee7a3869fcd518.tar.gz
Change `to_not` calls to `not_to`
Both work, but now we're consistent across the entire app.
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/issues_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb
index d803a1805de..1f2675044d3 100644
--- a/spec/features/issues_spec.rb
+++ b/spec/features/issues_spec.rb
@@ -38,7 +38,7 @@ describe 'Issues', feature: true do
it 'does not change issue count' do
expect {
click_button 'Save changes'
- }.to_not change { Issue.count }
+ }.not_to change { Issue.count }
end
it 'should update issue fields' do