1
0
Fork 0
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:
Andrew Haines 2013-02-05 11:22:59 +00:00
parent 07263e5077
commit 55210bae17

View file

@ -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