spec/support/models/post.rb in active_remote-7.0.0 vs spec/support/models/post.rb in active_remote-7.1.0

- old
+ new

@@ -11,11 +11,11 @@ attribute :author_guid, :string attribute :user_guid, :string attribute :bestseller_guid, :string belongs_to :author - belongs_to :coauthor, :class_name => "::Author" - belongs_to :bestseller, :class_name => "::Author", :foreign_key => :bestseller_guid - belongs_to :user, :class_name => "::Author", :scope => :user_guid + belongs_to :coauthor, class_name: "::Author" + belongs_to :bestseller, class_name: "::Author", foreign_key: :bestseller_guid + belongs_to :user, class_name: "::Author", scope: :user_guid - validates :name, :presence => true + validates :name, presence: true end