spec/support/models/default_author.rb in active_remote-5.1.1 vs spec/support/models/default_author.rb in active_remote-5.2.0.alpha
- old
+ new
@@ -4,9 +4,9 @@
# Define a generic class that inherits from active remote base
#
class DefaultAuthor < ::ActiveRemote::Base
service_class ::Generic::Remote::AuthorService
- attribute :guid, :default => lambda { 100 }
- attribute :name, :default => "John Doe"
+ attribute :guid, :string, :default => lambda { 100 }
+ attribute :name, :string, :default => "John Doe"
attribute :books, :default => []
end