about summary refs log tree commit diff
path: root/spec/models/user_role_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/user_role_spec.rb')
-rw-r--r--spec/models/user_role_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/user_role_spec.rb b/spec/models/user_role_spec.rb
index abf7d0e27..7294d14fe 100644
--- a/spec/models/user_role_spec.rb
+++ b/spec/models/user_role_spec.rb
@@ -139,7 +139,7 @@ RSpec.describe UserRole, type: :model do
     end
 
     it 'has negative position' do
-      expect(subject.position).to eq -1
+      expect(subject.position).to eq(-1)
     end
   end
 
@@ -159,7 +159,7 @@ RSpec.describe UserRole, type: :model do
     end
 
     it 'has negative position' do
-      expect(subject.position).to eq -1
+      expect(subject.position).to eq(-1)
     end
   end