module FriendlyId::Test::ActiveRecord2::Core
Public Instance Methods
create_method()
click to toggle source
# File test/active_record2/core.rb, line 21 def create_method :create! end
delete_all_method()
click to toggle source
# File test/active_record2/core.rb, line 25 def delete_all_method :delete_all end
find_method()
click to toggle source
# File test/active_record2/core.rb, line 17 def find_method :find end
save_method()
click to toggle source
# File test/active_record2/core.rb, line 29 def save_method :save! end
teardown()
click to toggle source
# File test/active_record2/core.rb, line 11 def teardown klass.delete_all other_class.delete_all Slug.delete_all end
validation_exceptions()
click to toggle source
# File test/active_record2/core.rb, line 33 def validation_exceptions [ActiveRecord::RecordInvalid, FriendlyId::ReservedError, FriendlyId::BlankError] end