diff options
author | skv <skv-headless@yandex.ru> | 2013-12-14 17:43:48 +0400 |
---|---|---|
committer | skv <skv-headless@yandex.ru> | 2013-12-15 00:05:10 +0400 |
commit | d89527839ea0dd1734dacb71c3ed2a97f1ff74d7 (patch) | |
tree | 3fe4c3f961cefb0c06e956bb7906bbc943c90703 /spec/helpers/notifications_helper_spec.rb | |
parent | ee53b73986ba4c9dd2f0c726a44718acb8febaf8 (diff) |
fix most of warnings
Diffstat (limited to 'spec/helpers/notifications_helper_spec.rb')
-rw-r--r-- | spec/helpers/notifications_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/notifications_helper_spec.rb b/spec/helpers/notifications_helper_spec.rb index 328f66237c3..c1efc1fb2a0 100644 --- a/spec/helpers/notifications_helper_spec.rb +++ b/spec/helpers/notifications_helper_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe NotificationsHelper do describe 'notification_icon' do - let(:notification) { stub(disabled?: false, participating?: false, watch?: false) } + let(:notification) { double(disabled?: false, participating?: false, watch?: false) } context "disabled notification" do before { notification.stub(disabled?: true) } |