require 'spec_helper'
require 'blacklight_cornell_requests/request_controller'

describe BlacklightCornellRequests::RequestController, :type => :controller do

	describe "GET /" do

		it "renders the :index view" do
			get :request, :id => 123
			response.should render_template :index
		end
	end


end

require 'spec_helper'
require 'blacklight_cornell_requests/request_controller'

describe BlacklightCornellRequests::RequestController, :type => :controller do

	describe "GET request" do

		it "renders the default view if no target is specified" do
			get :magic_request, { :id => 123, :use_route => :blacklight_cornell_requests }
			response.should render_template :default
		end
	end


end

Add first working controller rspec test.
Add first working controller rspec test.
