acts_as_favoritor 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,10 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
6
- # inflect.plural /^(ox)$/i, '\1en'
7
- # inflect.singular /^(ox)en/i, '\1'
8
- # inflect.irregular 'person', 'people'
9
- # inflect.uncountable %w( fish sheep )
10
- # end
data/test/follow_test.rb DELETED
@@ -1,28 +0,0 @@
1
- require File.dirname(__FILE__) + '/test_helper'
2
-
3
- class FollowTest < ActiveSupport::TestCase
4
-
5
- # Replace with real tests
6
- def test_assert_true_should_be_true
7
- assert true
8
- end
9
-
10
- context "configuration with setters" do
11
- should "contain custom parents" do
12
- ActsAsFollower.custom_parent_classes = [CustomRecord]
13
-
14
- assert_equal [CustomRecord], ActsAsFollower.custom_parent_classes
15
- end
16
- end
17
-
18
- context "#setup" do
19
- should "contain custom parents via setup" do
20
- ActsAsFollower.setup do |c|
21
- c.custom_parent_classes = [CustomRecord]
22
- end
23
-
24
- assert_equal [CustomRecord], ActsAsFollower.custom_parent_classes
25
- end
26
- end
27
-
28
- end