File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ def assigns_response
277277
278278 describe "@document" do
279279 before do
280+ @mock_response = double ( )
280281 @mock_response . stub ( :docs => [ { :id => 'my_fake_doc' } ] )
281282 @mock_document = double ( )
282283 controller . stub ( :find => @mock_response ,
@@ -303,6 +304,7 @@ def export_as_mock
303304 end
304305 end
305306 before do
307+ @mock_response = double ( )
306308 @mock_response . stub ( :docs => [ { :id => 'my_fake_doc' } ] )
307309 @mock_document = double ( )
308310 controller . stub ( :find => @mock_response ,
Original file line number Diff line number Diff line change 1717 end
1818
1919 before do
20- assign :response , mock ( :params => { } )
20+ assign :response , double ( :params => { } )
2121 view . stub ( :render_grouped_response? ) . and_return false
2222 view . stub ( :blacklight_config ) . and_return ( blacklight_config )
2323 end
You can’t perform that action at this time.
0 commit comments