diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-20 18:29:20 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-20 18:29:20 -0700 |
| commit | a95bc6ecd044ca3ec7590a3189e9c54e06a9f72c (patch) | |
| tree | d0e38baf90ea38f2c87ac7c67bf07302a446eeee /spec/routing | |
| parent | f87c6088405df0d0f0fe563fac4865dfbdb206b1 (diff) | |
create route to licenses#index.
Diffstat (limited to 'spec/routing')
| -rw-r--r-- | spec/routing/licenses_routing_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
