cirandas.net

ref: master

test/unit/url_helper_test.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
require 'test_helper'

class UrlHelperTest < ActionView::TestCase

  include UrlHelper

  def setup
  end

  should 'preserve override_user if present' do
    params[:override_user] = 1
    assert_equal default_url_options[:override_user], params[:override_user]
  end

end