Sha256: de1b3a87ca0a943b35cdfcd408fdb33f286d89de6005eee070cd75b277c19fc5

Contents?: true

Size: 283 Bytes

Versions: 3

Compression:

Stored size: 283 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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
picolena-0.1.6 rails_plugins/rspec_on_rails/spec_resources/helpers/explicit_helper.rb
picolena-0.1.7 rails_plugins/rspec_on_rails/spec_resources/helpers/explicit_helper.rb
picolena-0.1.8 rails_plugins/rspec_on_rails/spec_resources/helpers/explicit_helper.rb