Sha256: bd17c12633ec5df9d9fa5f5490b3c20e22ad2068e7be6ef011ca1ead384c91b1

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

require 'spec_helper'

describe 'RoutingSpec' do

  it 'should route the mark_as_read action' do
    {:get => "/mark_as_read/foo/1.gif"}.should route_to(
        :controller => "mark_as_read/mark_as_read",
        :action => 'read',
        :type => 'foo',
        :id => "1"
      )
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mark_as_read-0.0.2 spec/routing/routing_spec.rb
mark_as_read-0.0.1 spec/routing/routing_spec.rb