Sha256: d509815a248094f7c294e52774fbd5aa63ec3d5419c12901a7c92bc11863e1bb
Contents?: true
Size: 575 Bytes
Versions: 4
Compression:
Stored size: 575 Bytes
Contents
module ExplicitHelper def method_in_explicit_helper "<div>This is text from a method in the ExplicitHelper</div>" end # this is an example of a method spec'able with eval_erb in helper specs def prepend(arg, &block) concat(arg, block.binding) + block.call end def named_url rspec_on_rails_specs_url end def named_path rspec_on_rails_specs_path end def params_foo params[:foo] end def session_foo session[:foo] end def request_thing request.thing end def flash_thing flash[:thing] end end
Version data entries
4 entries across 4 versions & 1 rubygems