From 70a1c97aaa7b87d747d5b7cda49251e3086152f9 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Tue, 24 Mar 2015 20:39:16 -0300 Subject: [PATCH] api: fixing conflit on merge --- app/models/profile.rb | 4 ++-- test/unit/person_test.rb | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/models/profile.rb b/app/models/profile.rb index c6805c2..93cb98d 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -100,12 +100,12 @@ class Profile < ActiveRecord::Base scope :no_templates, {:conditions => {:is_template => false}} #FIXME make this test - named_scope :newer_than, lambda { |reference_id| + scope :newer_than, lambda { |reference_id| {:conditions => ["profiles.id > #{reference_id}"]} } #FIXME make this test - named_scope :older_than, lambda { |reference_id| + scope :older_than, lambda { |reference_id| {:conditions => ["profiles.id < #{reference_id}"]} } diff --git a/test/unit/person_test.rb b/test/unit/person_test.rb index 3603a72..dcc57d3 100644 --- a/test/unit/person_test.rb +++ b/test/unit/person_test.rb @@ -1524,7 +1524,6 @@ class PersonTest < ActiveSupport::TestCase end end -<<<<<<< HEAD should 'have a list of suggested people to be friend' do person = create_user('person').person suggested_friend = fast_create(Person) -- libgit2 0.21.2