renovate/lib/modules/manager/bundler/gemfile.spec.ts

13 lines
395 B
TypeScript
Raw Normal View History

import { loadFixture } from '../../../../test/util';
import { extractLockFileEntries } from './locked-version';
const gemLockFile = loadFixture('Gemfile.rails.lock');
describe('modules/manager/bundler/gemfile', () => {
it('matches the expected output', () => {
const res = extractLockFileEntries(gemLockFile);
2021-11-08 12:16:58 +00:00
expect(res.size).toBe(185);
expect(res).toMatchSnapshot();
});
});