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 it "can route to the show action" do uuid = 'aa80f0ee-c6da-4b1d-bd80-3c50c93d083e' expect(get: "v1/licenses/#{uuid}").to route_to(controller: 'v1/licenses', action: 'show', id: uuid) end end