Skip to content

Commit

Permalink
Matcher fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hron84 committed Mar 27, 2012
1 parent 3651021 commit 41c378f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/i18n-spec/matchers/have_legacy_interpolations.rb
@@ -1,6 +1,6 @@
RSpec::Matchers.define :have_legacy_interpolations do |expected|
match do |actual|
locale_file = I18nSpec::LocaleFile.new(actual)
locale_file.content =~ /{{.+}}/
locale_file.content =~ /\{\{.+\}\}/
end
end

0 comments on commit 41c378f

Please sign in to comment.