From a95bc6ecd044ca3ec7590a3189e9c54e06a9f72c Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 20 Feb 2014 18:29:20 -0700 Subject: create route to licenses#index. --- spec/routing/licenses_routing_spec.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 spec/routing/licenses_routing_spec.rb (limited to 'spec') diff --git a/spec/routing/licenses_routing_spec.rb b/spec/routing/licenses_routing_spec.rb new file mode 100644 index 0000000..bc2d45d --- /dev/null +++ b/spec/routing/licenses_routing_spec.rb @@ -0,0 +1,7 @@ +require "spec_helper" + +describe 'v1/licenses' do + it "can route to the index action" do + expect({ get: 'v1/licenses' }).to route_to(controller: 'v1/licenses', action: 'index') + end +end -- cgit v1.2.3