spec/support/models/default_author.rb in active_remote-7.0.0 vs spec/support/models/default_author.rb in active_remote-7.1.0
- 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, :string, :default => lambda { 100 }
- attribute :name, :string, :default => "John Doe"
- attribute :books, :default => []
+ attribute :guid, :string, default: lambda { 100 }
+ attribute :name, :string, default: "John Doe"
+ attribute :books, default: []
end