Browse files

Workaround rbx failure in customer coercion example spec

  • Loading branch information...
1 parent 885dfe7 commit 4851d42cd985879cd518134f8939a64525293956 @solnic committed Nov 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/custom_coercion_spec.rb
View
4 examples/custom_coercion_spec.rb
@@ -1,6 +1,6 @@
require './spec/spec_helper'
-class MD5 < Virtus::Attribute::Object
+class Md5 < Virtus::Attribute::Object
primitive String
coercion_method :to_md5
end
@@ -19,7 +19,7 @@ class User
include Virtus
attribute :name, String
- attribute :password, MD5
+ attribute :password, Md5
end
describe User do

0 comments on commit 4851d42

Please sign in to comment.