spec/tram/policy/rspec_spec.rb in tram-policy-0.3.1 vs spec/tram/policy/rspec_spec.rb in tram-policy-0.4.0

- old
+ new

@@ -55,11 +55,8 @@ end end describe "shared examples" do it_behaves_like :invalid_policy - it_behaves_like :invalid_policy, field: "name" do - before { I18n.available_locales = %i[en ru] } - end - it_behaves_like :valid_policy, field: "email" + it_behaves_like :valid_policy, field: "email" end end