Sha256: 2e4df5d1cc543b11fda7a4e0c3c03991bd7ff9cd81fc22bb95fcf8f2c3f8bcbf

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

require "spec_helper"

RSpec.describe Answers::QuestionsController, :type => :routing do
  describe "routing" do

    it "routes to #index" do
    	pending 'needs to be fixed for new engine layout'

      expect(:get => "/answers").to route_to("questions#index")
    end
    
    it "routes to #show" do
    	pending 'needs to be fixed for new engine layout'

      expect(:get => "/answers/1").to route_to("questions#show", :id => "1")
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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