Sha256: 892e4a7025d53558fcc9dd58f1fb55f36be62d52907a109d2ba6e13ca6ce9be6

Contents?: true

Size: 316 Bytes

Versions: 2

Compression:

Stored size: 316 Bytes

Contents

require 'spec_helper'

describe "routing to search results", :type => :routing do
  it "routes /search/ to search#index for a given query" do
  	pending 'needs to be fixed for new engine layout'

    expect({ :get => "/search/" }).to route_to(
      :controller => 'search',
      :action => 'index'
    )
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
answers-core-0.0.0.2 spec/routing/routes_spec.rb
answers-core-0.0.0 spec/routing/routes_spec.rb