Commit Graph

22 Commits

Author SHA1 Message Date
Antonio C Nalesso Moreira 512987cc7a clean up tests, added dynamic support to rb 1.8.7 to 2.x when running tests 2013-07-06 20:20:35 +01:00
Antonio C Nalesso Moreira 034af8d987 FIX #92, Allow options to be passed to counter_cache unique, and clean up 2013-07-06 03:14:25 +01:00
johnmcaliley c8127c43a6 fix stub. reverted back to controller_name 2013-05-07 20:49:45 -04:00
John McAliley 23ce2b201e fix spec and use controller_path in mongoid 2013-04-01 22:40:09 -04:00
Ty Rauber 495e0a4273 Test coverage around impressions for non-restful controller actions. Added dummy route, index method, view and dummy controller spec. 2013-03-30 13:30:56 -07:00
Erik Michaels-Ober 474ea03281 Encoding is unnecessary and allow tests to pass in Ruby 1.8 2012-03-12 19:03:18 -05:00
Erik Michaels-Ober 5640e3625a Revert "use relative_require so specs work with root Rakefile. TODO: remove"
This reverts commit 58467eba69, which was
causing specs to break on Ruby 1.8.
2012-03-12 18:32:23 -05:00
John McAliley 58467eba69 use relative_require so specs work with root Rakefile. TODO: remove
test_app, mv spec dir under gem root and use dummy app instead
2012-03-11 21:47:31 -04:00
Erik Michaels-Ober 1174647779 Cleanup trailing whitespace
Trailing whitespace isn't friendly to git or vim users.
2012-03-06 14:04:32 -08:00
Cory Schires e2ee248fba Added documentation for ability to set conditions for recording impressions. Also, Had to do some work to get the tests passing
Merge remote branch 'upstream/master'

Conflicts:
  test_app/Gemfile.lock
2011-11-27 13:39:45 -06:00
mio 5d77a1a2a0 added tests for uniqueness feature 2011-11-10 14:16:57 +01:00
mio e63e835936 added draft for impressionist(...) uniqueness 2011-11-09 18:10:35 +01:00
mio 09bfa2f27e implemented first version for unique check on controller level. 2011-11-07 20:41:51 +01:00
Cory Schires 77219d23a5 Added tests for counter cache logic 2011-10-31 12:02:31 -05:00
John McAliley ae5ae23e1c Add referrer to impression model.
remove unused features dir.
2011-06-03 11:52:42 -04:00
cowboycoded 405d376366 add session_hash to impression model
changed migration template
added upgrade migration template
added unique_impression_count_session to impressionable model
fixed controller_spec
2011-03-06 23:22:39 -05:00
cowboycoded 7c1ac8ccdc log the controller_name and action_name when impressionist is called manually inside a controller action 2011-02-17 08:11:06 -05:00
cowboycoded bc8a89278f ruby 1.8 hash syntax for REE users. moving around some tests 2011-02-13 14:18:34 -05:00
cowboycoded cc6c813517 added support for current_user helper method of authentication
tests for both current_user (Post) and @current_user (Article) implementations
updated gems
2011-02-10 16:13:30 -05:00
cowboycoded 8fcaf4c440 tests for bypassing wildcard or bot list user-agents 2011-02-04 11:11:04 -05:00
cowboycoded 33eecdc017 add fixtures 2011-02-04 10:09:05 -05:00
cowboycoded 755bd937da first commit 2011-02-03 23:13:41 -05:00