Skip to content
Snippets Groups Projects
Commit 72bd78b6 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

adding highlights scopes tests for collections

parent 063ebbea
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,14 @@ class CollectionTest < ActiveSupport::TestCase
include ::Portalmec::SociableTests
test 'should get all collections created this week' do
Collection.this_week.each {|o| assert_instance_of Collection, o}
end
test 'should get all collections created this month' do
Collection.this_month.each {|o| assert_instance_of Collection, o}
end
protected
def sociable_object
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment