Skip to content

Commit

Permalink
Removing dummy routing testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamagdy committed Feb 9, 2014
1 parent a240739 commit 6932dcf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/routing_test.rb
Expand Up @@ -443,17 +443,13 @@ def test_case_reads_default_urls(klass)
localized do
resources :person
end
match "/dummy", :to => "dummy#dummy", via: :all
end

test_case = klass.new(nil)

# Not localized
assert test_case.respond_to?(:people_path)
assert test_case.respond_to?(:new_person_path)
assert test_case.respond_to?(:dummy_path)

assert_routing '/dummy', :controller => 'dummy', :action => 'dummy'

# Localized
assert test_case.respond_to?(:people_en_path)
Expand Down

0 comments on commit 6932dcf

Please sign in to comment.