Skip to content

Commit 8167d86

Browse files
committed
Removed rspec deprecations
1 parent 19cc35a commit 8167d86

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

spec/following_policy_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
describe FollowingPolicy do
44
before(:each) do
5-
@followee = stub()
6-
@follower = stub()
5+
@followee = double 'followee'
6+
@follower = double 'follower'
77
end
88

99
it 'can follow another' do

spec/views/questions/index.html.haml_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
stub_template "shared/_ask" => ""
99
stub_template "questions/_list" => ""
1010

11-
view.stub! :will_paginate
11+
view.stub :will_paginate
1212
end
1313

1414
it "renders an autodiscovery link in for the head content" do

0 commit comments

Comments
 (0)