Sha256: 16f3eb9fe0ccdde33d7858c2a206cd6071fbb97224da198804d4fb39aa3a8839

Contents?: true

Size: 473 Bytes

Versions: 6

Compression:

Stored size: 473 Bytes

Contents

require 'test_helper'
require 'action_dispatch/testing/assertions/routing'
require 'comatose/base_controller'
require 'comatose/base_helper'

# Re-raise errors caught by the controller.
class Comatose::BaseController
  def rescue_action(e) raise e end 
end

class ComatoseRoutingTest < Test::Unit::TestCase
  include ActionDispatch::Assertions::RoutingAssertions
  def test_route_works
    opts = { :controller => "comatose/base" }
    assert_routing "/en", opts
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
comatose-rubyisbeautiful-3.0.5 test/integration/comatose_routing_test.rb
comatose-rubyisbeautiful-3.0.4 test/integration/comatose_routing_test.rb
comatose-rubyisbeautiful-3.0.3 test/integration/comatose_routing_test.rb
comatose-rubyisbeautiful-3.0.2 test/integration/comatose_routing_test.rb
comatose-rubyisbeautiful-3.0.1 test/integration/comatose_routing_test.rb
comatose-rubyisbeautiful-3.0.0 test/integration/comatose_routing_test.rb