spec/spec_helper.rb in phony_rails-0.12.7 vs spec/spec_helper.rb in phony_rails-0.12.8

- old
+ new

@@ -33,9 +33,16 @@ class ActiveRecordModel < ActiveRecord::Base include SharedModelMethods end +class RelaxedActiveRecordModel < ActiveRecord::Base + self.table_name = 'active_record_models' + attr_accessor :phone_number, :country_code + + phony_normalize :phone_number, :enforce_record_country => false +end + class ActiveRecordDummy < ActiveRecordModel end class MongoidModel include Mongoid::Document \ No newline at end of file