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.38 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.37 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.36 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.35 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.34 spec/routing/phocoder_routing_spec.rb
phocoder-rails-0.0.33 spec/routing/phocoder_routing_spec.rb