Sha256: 62b7ad595eecb05b13d7c142632f43e858f51cc7f615117ac576adbfdda886ef

Contents?: true

Size: 306 Bytes

Versions: 7

Compression:

Stored size: 306 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
inkling-0.0.9 spec/controllers/inkling/proxying_spec.rb
inkling-0.0.8 spec/controllers/inkling/proxying_spec.rb
inkling-0.0.7 spec/controllers/inkling/proxying_spec.rb
inkling-0.0.5 spec/controllers/inkling/proxying_spec.rb
inkling-0.0.4 spec/controllers/inkling/proxying_spec.rb
inkling-0.0.3a spec/controllers/inkling/proxying_spec.rb
inkling-0.0.3 spec/controllers/inkling/proxying_spec.rb