Ditch regex for more readable string

pull/3125/head
Alexander Bach 10 years ago committed by Jens Ulferts
parent 02cbe0165b
commit 90ed907657
  1. 2
      spec/lib/api/v3/utilities/path_helper_spec.rb

@ -116,7 +116,7 @@ describe ::API::V3::Utilities::PathHelper do
it_behaves_like 'api v3 path' it_behaves_like 'api v3 path'
it { is_expected.to match(/^\/api\/v3\/projects\/42\/work_packages\/form/) } it { is_expected.to eql('/api/v3/projects/42/work_packages/form') }
end end
describe '#render_markup' do describe '#render_markup' do

Loading…
Cancel
Save