Sha256: d172f08c422caef40a1507577cbc851b67f4100ab7a067c09de7de34b1bacf9b
Contents?: true
Size: 598 Bytes
Versions: 4
Compression:
Stored size: 598 Bytes
Contents
require 'rails_helper' module CitizenBudgetModel RSpec.describe TranslationsController, type: :routing do describe 'routing' do routes { Engine.routes } it 'routes to #index' do expect(get: '/translations').to route_to('citizen_budget_model/translations#index') end it 'routes to #create' do expect(post: '/translations').to route_to('citizen_budget_model/translations#create') end it 'routes to #export' do expect(get: '/translations/export').to route_to('citizen_budget_model/translations#export') end end end end
Version data entries
4 entries across 4 versions & 1 rubygems