1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00
Commit graph

35 commits

Author SHA1 Message Date
Eoin Kelly
52bffc1873 Get specs passing with latest versions of extension gems
* Get specs passing with latest versions of
    * ActiveRecord  4.0.4
    * ActiveSupport 4.0.4
    * MongoMapper   0.13.0
    * Mongoid       4.0.0
    * ActionView    4.0.4
    * Ripple seems to be abandoned so no changes made.
* Clean up ActiveRecord setup:
    * Creating tableless AR objects seems even trickier in Rails 4 so
      simplify testing setup by using an in-memory SQLite DB back-end.

Conflicts:
	spec/ext/active_record_spec.rb
2014-12-29 12:11:08 -05:00
James Cox
77ceaf5090 Convert specs to RSpec 3.0.4 syntax with Transpec
This conversion is done by Transpec 3.0.7 with the following command:
    transpec

* 3 conversions
    from: == expected
      to: eq(expected)

* 3 conversions
    from: obj.should
      to: expect(obj).to

For more details: https://github.com/yujinakayama/transpec#supported-conversions
2014-12-29 12:00:33 -05:00
Marshall Shen
929ec31ced generalize test 2014-12-29 11:57:43 -05:00
Marshall Shen
a71586ad99 add open struct support 2014-12-29 11:57:43 -05:00
Joshua Priddle
84bfda9d07 Fix printing abstract classes in ActiveRecord 3 2014-12-29 11:48:44 -05:00
James Cox
9ce54b5557 Allows specs to run 2014-12-29 11:38:13 -05:00
adamjonas
2bc678bba5 update rspec syntax from should to expect via transpec 2014-12-18 12:24:30 -05:00
Mike Dvorkin
514faad651 Fixed syntax error in Ripple plugin spec 2013-09-18 13:18:50 -07:00
shyndman
7eef826a63 Added specs for Ripple (but still can't get them to run) 2013-02-07 15:53:44 -05:00
Mike Dvorkin
5463de12e9 Manually merged expanded mongo_mapper support provided by gardelea 2012-09-06 18:16:25 -07:00
Mike Dvorkin
da0defa87a Resolved Mongoid/MongoMapper specs dependency 2012-09-06 16:34:11 -07:00
Mike Dvorkin
5f00926d80 Fixed specs to work with the latest ActiveRecord 2012-09-05 18:40:30 -07:00
Nikolaj Nikolajsen
5983fe3416 Cleaning up the tests supporting moped a little 2012-08-08 13:59:19 +02:00
Nikolaj Nikolajsen
2779249a4b Adding support for Mongoid 3 and Moped 2012-08-08 13:22:15 +02:00
Mike Dvorkin
c29f36e483 Improved class formatting of object.methods 2011-12-19 22:30:06 -08:00
Mike Dvorkin
3258a9bc63 Format ActiveRecord instances showing attributes only 2011-12-18 15:49:43 -08:00
amd
e8e02b6e09 mongoid instance printing and BSON::ObjectId 2011-12-12 21:41:31 -08:00
Mike Dvorkin
71044fdd20 Format ActiveSupport Date object as regular date 2011-12-05 13:56:46 -08:00
Mike Dvorkin
89b8fc92ef Added Nokogiri plugin 2011-11-29 19:52:30 -08:00
Mike Dvorkin
f24462a533 Made specs pass with the latest versions of mongo_mapper and mongoid gems 2011-11-24 00:25:52 -08:00
Mike Dvorkin
c6d27131df Made specs pass with ActiveRecord 3.1 2011-11-24 00:16:43 -08:00
Mike Dvorkin
fc23c998bb Made specs pass with ActiveRecord 2.x 2011-11-23 22:48:51 -08:00
Mike Dvorkin
b6a02f200b Make specs pass with Ruby 1.8.6 2011-11-23 22:37:25 -08:00
Mike Dvorkin
562201f7dd Streamlined error reporting for the extension specs 2011-11-23 21:33:03 -08:00
Mike Dvorkin
3849b4a7bd Changed HTML formatting to support pre { display:inline } style 2011-11-23 21:10:56 -08:00
Mike Dvorkin
02ea0da95c Merge branch 'mongoid' of git://github.com/gudleik/awesome_print into gudleik/mongoid 2011-11-08 21:48:03 -08:00
Mike Dvorkin
d2c0a398e2 Fixed nested left alighment; fixed ActiveRecord and MongoMapper object specs 2011-11-08 21:27:02 -08:00
Mike Dvorkin
785109a66e Fixed ~/.aprc dependency in specs 2011-11-08 18:30:50 -08:00
Mike Dvorkin
50152e17e9 Fixed printing ActiveRecord::Base class ancestors 2011-11-08 18:30:50 -08:00
Gudleik Rasch
de82cc3a28 print types as intern symbols 2011-10-26 23:47:44 +02:00
Gudleik Rasch
e410508b2a mongoid adapter 2011-10-26 23:47:15 +02:00
Mike Dvorkin
b8822574ec Refactored MongoMapper extension and its specs 2011-05-13 21:07:34 -07:00
Mike Dvorkin
5de4abf359 Fixed ActiveRecord object specs to include attributes and instance variables 2011-05-13 20:05:37 -07:00
Mike Dvorkin
5d76ded7ed Format ActiveRecord and MongoDocument instances as any other arbitrary objects 2011-05-13 17:36:12 -07:00
Mike Dvorkin
b538cca4c5 Renamed directories 2011-05-13 16:37:24 -07:00