Ben Atkins
9402addcb2
Use :send to invoke :remove_instance_variable on PaperTrail; prevents errors on Ruby19
2013-10-03 10:06:24 -04:00
Ben Atkins
450e87cb03
Removing Capybara from the test suite. Close #195 .
2013-01-25 10:18:41 -05:00
Ben Atkins
526e6ae7cc
Adding JSON serializer to the gem. Close #194
2013-01-22 18:13:58 -05:00
Ben Atkins
3e072a0d8f
Making it so that the paper_trail initializer for the dummy app is in the dummy app's config/initializers directory so that it mimics the behavior of the rails app when the console is run against it.
2012-12-31 13:07:27 -05:00
Ben Atkins
7abf490107
Adjusting the :merge_metadata method on has_paper_trail.rb so that in the event that an attribute is being called upon to provide the value, and the attribute is changing, it will grab the current version of the attribute (what it was prior to the changes).
2012-10-10 19:39:55 -04:00
Andy Stewart
6015ef748d
Add test for Version's custom timestamps.
2012-03-12 12:12:27 +01:00
Andy Stewart
3174907014
Remove unnecessary library.
2011-12-23 12:04:19 +01:00
Andy Stewart
14383f4cb6
Fix tests and update readme.
2011-09-29 11:00:13 +02:00
Edward Tsech
be2ff202a3
#74 : Changed method_defined? to column_names.include? & Fix test for case without object_changes column
2011-07-23 01:54:03 +07:00
Edward Tsech
b229927c2b
Added test for case without object_changes column
2011-07-13 11:29:30 +07:00
Stefan Huber
13775e16a4
Fixing versions creation without controller.
...
Additionally fixing a leakage within the tests
2011-04-07 01:21:57 +01:00
Andy Stewart
ac4714de1f
Use Turn for prettier test output.
2011-04-01 10:37:36 +01:00
Andy Stewart
36a4b9b323
Convert to Rails 3 idioms.
2011-02-08 17:16:35 +00:00
Thibaud Guillaume-Gentil
bdde43b524
Make tests working on Ruby 1.9.2
2010-10-26 15:25:41 +02:00
Andy Stewart
3036aa75b5
Store controller info. Allow other current_user methods.
...
PaperTrail can now store any information from the controller or request.
It's also easy to choose a method other than `current_user` for
PaperTrail to call to find out who was responsible for changes.
2010-03-19 18:53:49 +00:00
Andy Stewart
b88af80916
Clean up test helper.
2010-03-18 18:09:48 +00:00
Zachery Hostens
6878fc5a0e
fix up code and tests to succeed
2009-11-19 21:15:30 -06:00
Zachery Hostens
ba0982e9de
update test code to work without being in a rails app
2009-11-19 20:51:25 -06:00
Andy Stewart
e9a8648c22
First commit.
2009-05-27 16:21:20 +01:00