Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Duvall 3dd52fbd61 Refactored delegation of error message generation
Moved delegation to ActiveModel::Errors#generate_message to
default_error_message and implemented a spec for it.
2013-03-08 17:14:08 -05:00
Jason Draper and George Brocklehurst 7b15429ebe Add a StrongParametersMatcher 2013-01-25 11:07:48 +01:00
Gabe Berke-Williams af8f9a7bff Use current thoughtbot style in specs 2012-12-26 22:45:54 -05:00
Gabe Berke-Williams 891018f3bd Formatting 2012-12-19 23:59:30 -05:00
Gabe Berke-Williams 35b65c2bc3 Move define_mailer into its own module. 2012-06-29 15:33:39 -05:00
Gabe Berke-Williams f5f64821a3 Split up ModelBuilder. 2012-06-21 14:01:35 -04:00
Gabe Berke-Williams faea9186b0 Allow testing against ActionMailer 3.2.x 2012-04-24 16:21:23 -05:00
Gabe Berke-Williams c358d57d3d Better method name. 2012-04-20 17:24:18 -04:00
Gabe Berke-Williams aff28245e7 Test against Rails 3.2. 2012-04-20 14:35:57 -04:00
Gabe Berke-Williams 5873502d0b We don't test against ActionPack 2.x. 2012-04-10 22:53:11 -04:00
Gabe Berke-Williams 47053802e2 Fix deprecation warnings in newer ActionPack versions. 2012-04-10 22:50:55 -04:00
Gabe Berke-Williams 62207b4c50 Provide sane default in model builder. 2012-03-16 12:15:11 -04:00
Gabe Berke-Williams 31595b027f Slight refactor of model builder. 2012-03-09 11:53:24 -05:00
Vasiliy Ermolovich 16eb4aa78d render_template compatible with assert_template, closes #21 2011-10-15 14:36:30 +03:00
Prem Sichanugrist 3e6463bbc5 Also create a joined table so the test won't fail 2011-09-12 17:25:31 +07:00
Prem Sichanugrist 71c47f7cef Fix all the tests. We should be good to go for 3.1.0.rc1 2011-05-25 15:36:13 -04:00
Prem Sichanugrist 3170294b44 Generate new Rails application every time we run RSpec 2011-05-25 15:36:13 -04:00
Tristan Dunn 3daca5b601 Support validates_presence_of with a class using ActiveModel::Validations. 2011-01-24 11:19:34 -05:00
Joe Ferris 4ee78bfe99 Fixes for Rails 3.0.3 and RSpec 2.3 2010-12-14 18:35:12 -05:00
Joe Ferris 6aca71765a Extracted the context framework, switched to rspec 2010-12-14 17:02:03 -05:00