Sha256: 6ee72100b157968d0218e9112921890a1fde8803133fc246dae13a68667feec3

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

class DummyActionController
  def self.helper_method(name)
    nil
  end

  def view_context
    self
  end
end

class StringPresenter < ActionPresenter::Base
  def foobar
    'foo'
  end
end

class FoobarPresenter < ActionPresenter::Base
  def foobar
    'bar'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
action_presenter-1.0 spec/support/view_helper.rb