spec/spec-i18n/matchers/have_spec.rb in rspec-i18n-1.1.0 vs spec/spec-i18n/matchers/have_spec.rb in rspec-i18n-1.2.0
- old
+ new
@@ -5,10 +5,10 @@
before(:each) do
matchers = {'have' => 'ter', 'have_at_least' => 'ter_no_minimo',
'have_exactly' => 'ter_exatamente',
'have_at_most' => 'ter_no_maximo'}
@expected_matcher = {'matchers' => matchers}
- portuguese_language(@expected_matcher)
+ stub_language!("pt", @expected_matcher)
Spec::Matchers.register_all_matchers
end
describe 'should have(n).items' do
\ No newline at end of file