Re: [rspec-users] Best way to test validates_acceptance_of

2011-05-07 Thread David Chelimsky
On May 4, 2011, at 1:24 PM, Erik Lindblom wrote: > Hello, > > I am trying to write a test to make sure that the property > validates_acceptance_of is present on a model. In my exploration, I can't > seem to make a test that fails when this property is absent, then passes when > added. > > Any

[rspec-users] Best way to test validates_acceptance_of

2011-05-06 Thread Erik Lindblom
Hello, I am trying to write a test to make sure that the property validates_acceptance_of is present on a model. In my exploration, I can't seem to make a test that fails when this property is absent, then passes when added. Any guidance would be appreciated! ~Erik L. ___