Sha256: 7177cf35c7cf92c8f384c6bbf203db5bb4024a8d824f050956655d5bfb6ba193

Contents?: true

Size: 767 Bytes

Versions: 26

Compression:

Stored size: 767 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe "Phocoder Routes" do


  it "should accept a post to /phocoder" do
    { :post => '/phocoder/phocoder_notifications/ImageUpload/1' }.should route_to(:controller => "phocoder", :action => "phocoder_notification_update",:class=>"ImageUpload",:id=>"1")
  end
  
  it "should accept a post to /phocoder" do
    { :post => '/phocoder/zencoder_notifications/ImageUpload/1' }.should route_to(:controller => "phocoder", :action => "zencoder_notification_update",:class=>"ImageUpload",:id=>"1")
  end
        
  it "should accept a post to /thumbnail_update" do
    { :post => '/phocoder/thumbnail_update' }.should route_to(:controller => "phocoder", :action => "thumbnail_update")
  end
  
  
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
phocoder-rails-0.0.58 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.57 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.56 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.55 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.54 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.53 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.52 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.51 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.50 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.49 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.48 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.47 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.46 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.45 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.44 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.43 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.42 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.41 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.40 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.39 spec/routing/phocoder_routing_spec.rb