about summary refs log tree commit diff
path: root/spec/models/notification_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/notification_spec.rb')
-rw-r--r--spec/models/notification_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/models/notification_spec.rb b/spec/models/notification_spec.rb
index 1e9e45d8d..64527e3d7 100644
--- a/spec/models/notification_spec.rb
+++ b/spec/models/notification_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 require 'rails_helper'
 
 RSpec.describe Notification, type: :model do
@@ -68,7 +70,7 @@ RSpec.describe Notification, type: :model do
       let(:notifications) { [] }
 
       it 'returns []' do
-        is_expected.to eq []
+        expect(subject).to eq []
       end
     end