Sha256: 603879a9199e7786565fba09ea4b65d733caf385a547c73d6634af686b4d5e55

Contents?: true

Size: 189 Bytes

Versions: 1

Compression:

Stored size: 189 Bytes

Contents

class MockController
  attr_accessor :action_name

  def action_name
    @action_name || "edit"
  end

  def _router
    self
  end

  def url_for(*args)
    "http://example.com"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_form-1.2.0 test/support/mock_controller.rb