We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19cc35a commit 8167d86Copy full SHA for 8167d86
2 files changed
spec/following_policy_spec.rb
@@ -2,8 +2,8 @@
2
3
describe FollowingPolicy do
4
before(:each) do
5
- @followee = stub()
6
- @follower = stub()
+ @followee = double 'followee'
+ @follower = double 'follower'
7
end
8
9
it 'can follow another' do
spec/views/questions/index.html.haml_spec.rb
@@ -8,7 +8,7 @@
stub_template "shared/_ask" => ""
stub_template "questions/_list" => ""
10
11
- view.stub! :will_paginate
+ view.stub :will_paginate
12
13
14
it "renders an autodiscovery link in for the head content" do
0 commit comments