spec/pattern_scanner_spec.rb in i18n-tasks-0.8.5 vs spec/pattern_scanner_spec.rb in i18n-tasks-0.8.6
- old
+ new
@@ -1,8 +1,8 @@
# coding: utf-8
require 'spec_helper'
-describe 'Pattern Scanner' do
+RSpec.describe 'Pattern Scanner' do
describe 'scan_file' do
it 'returns absolute keys from controllers' do
file_path = 'spec/fixtures/app/controllers/events_controller.rb'
scanner = I18n::Tasks::Scanners::PatternScanner.new
allow(scanner).to receive(:relative_roots).and_return(['spec/fixtures/app/controllers'])