Skip to content

Instantly share code, notes, and snippets.

@lucasefe
Created September 10, 2010 16:34
Show Gist options
  • Save lucasefe/573950 to your computer and use it in GitHub Desktop.
Save lucasefe/573950 to your computer and use it in GitHub Desktop.
module ThemeSupport
class RoutingTest < ActionController::TestCase
test "recognize stylesheets route" do
assert_recognizes(
{:controller => "theme_support/assets", :action => "index", :theme => "default", :asset => "app.css"},
{ :path => "/themes/default/stylesheets/app.css", :method => :get }
)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment