require File.dirname(__FILE__) + '/../../spec_helper' describe Inkling::ProxyingController do it "should assemble a resource route and proxy onto it" do post 'proxy', {:content_type => "Inkling::Foo"} response.redirect_url.should eql "http://test.host/inkling/content_types/foo/new" end end