mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Prevent warning in lazy helpers spec
This commit is contained in:
parent
07263e5077
commit
55210bae17
1 changed files with 1 additions and 3 deletions
|
@ -4,9 +4,7 @@ module Draper
|
|||
describe LazyHelpers do
|
||||
describe "#method_missing" do
|
||||
let(:decorator) do
|
||||
result = Class.new{include Draper::LazyHelpers}.new
|
||||
result.stub :helpers, double
|
||||
result
|
||||
Struct.new(:helpers){include Draper::LazyHelpers}.new(double)
|
||||
end
|
||||
|
||||
it "proxies methods to #helpers" do
|
||||
|
|
Loading…
Reference in a new issue