spec/error_spec.rb in errawr-1.1.4 vs spec/error_spec.rb in errawr-1.1.5
- old
+ new
@@ -18,11 +18,6 @@
it 'should return an unknown error if error => message is not provided' do
error = Errawr::Error.new(:bad_error_hash)
error.message.should == 'An unknown error has occurred'
end
-
- it 'should insert custom values into the context if I18n value is a hash' do
- error = Errawr::Error.new(:error_hash)
- error.metadata[:name].should == 'error_name'
- end
end
\ No newline at end of file