|
18 | 18 |
|
19 | 19 | # rubocop:todo RSpec/RepeatedExample |
20 | 20 | it 'routes to #show' do # rubocop:todo RSpec/NoExpectationExample, RSpec/RepeatedExample |
21 | | - # rubocop:todo Layout/LineLength |
22 | 21 | # expect(get: '/better_together/authorizations/1').to route_to('better_together/authorizations#show', id: '1') |
23 | | - # rubocop:enable Layout/LineLength |
24 | 22 | end |
25 | 23 | # rubocop:enable RSpec/RepeatedExample |
26 | 24 |
|
27 | 25 | # rubocop:todo RSpec/RepeatedExample |
28 | 26 | it 'routes to #edit' do # rubocop:todo RSpec/NoExpectationExample, RSpec/RepeatedExample |
29 | | - # rubocop:todo Layout/LineLength |
30 | 27 | # expect(get: '/better_together/authorizations/1/edit').toroute_to('better_together/authorizations#edit', id: '1') |
31 | | - # rubocop:enable Layout/LineLength |
32 | 28 | end |
33 | 29 | # rubocop:enable RSpec/RepeatedExample |
34 | 30 |
|
|
40 | 36 |
|
41 | 37 | # rubocop:todo RSpec/RepeatedExample |
42 | 38 | it 'routes to #update via PUT' do # rubocop:todo RSpec/NoExpectationExample, RSpec/RepeatedExample |
43 | | - # rubocop:todo Layout/LineLength |
44 | 39 | # expect(put: '/better_together/authorizations/1').to route_to('better_together/authorizations#update', id: '1') |
45 | | - # rubocop:enable Layout/LineLength |
46 | 40 | end |
47 | 41 | # rubocop:enable RSpec/RepeatedExample |
48 | 42 |
|
49 | 43 | # rubocop:todo RSpec/RepeatedExample |
50 | 44 | it 'routes to #update via PATCH' do # rubocop:todo RSpec/NoExpectationExample, RSpec/RepeatedExample |
51 | | - # rubocop:todo Layout/LineLength |
52 | 45 | # expect(patch: '/better_together/authorizations/1').to route_to('better_together/authorizations#update', id: '1') |
53 | | - # rubocop:enable Layout/LineLength |
54 | 46 | end |
55 | 47 | # rubocop:enable RSpec/RepeatedExample |
56 | 48 |
|
57 | 49 | # rubocop:todo RSpec/RepeatedExample |
58 | 50 | it 'routes to #destroy' do # rubocop:todo RSpec/NoExpectationExample, RSpec/RepeatedExample |
59 | | - # rubocop:todo Layout/LineLength |
60 | 51 | # expect(delete: '/better_together/authorizations/1').toroute_to('better_together/authorizations#destroy',id: '1') |
61 | | - # rubocop:enable Layout/LineLength |
62 | 52 | end |
63 | 53 | # rubocop:enable RSpec/RepeatedExample |
64 | 54 | end |
|
0 commit comments