Sha256: a927506f69d00fbbea8ce122b0d4a197fb72eaf4c16414bb0b3f1255d2ae2892

Contents?: true

Size: 159 Bytes

Versions: 9

Compression:

Stored size: 159 Bytes

Contents

class MockController
  attr_accessor :action_name

  def action_name
    @action_name || "edit"
  end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
simple_form-1.0.4 test/support/mock_controller.rb
simple_form-1.0.3 test/support/mock_controller.rb
simple_form-1.0.2 test/support/mock_controller.rb
simple_form-1.0.1 test/support/mock_controller.rb
simple_form-1.1.3 test/support/mock_controller.rb
simple_form-1.1.2 test/support/mock_controller.rb
simple_form-1.1.1 test/support/mock_controller.rb
simple_form-1.1.0 test/support/mock_controller.rb
simple_form-1.0.0 test/support/mock_controller.rb