search for: validate_attributes

Displaying 3 results from an estimated 3 matches for "validate_attributes".

2007 Nov 19
1
Install plugin "validate_attributes"
hi @all I try to install the plugin "validate_attributes". I''m using Windows and I tried to install the plugin with rapt like this: > rapt search validate_attributes > rapt install results Now, I always get an error "Rapt currently does not work outside of a Rails application directory. Please change to the top level of a Rails...
2007 Dec 06
43
Mocks? Really?
OK, so i''ve played a bit with mocks and mock_models in controller and view tests and i have a question. Is this statement really correct: "We highly recommend that you exploit the mock framework here rather than providing real model objects in order to keep the view specs isolated from changes to your models." (http://rspec.rubyforge.org/documentation/rails/writing/views.html
2007 Oct 14
40
Step matchers
I think we all know that the readability of steps isn''t great right now, and in fact there''s a very recent thread that discusses just that. It was that recent thread that prompted me to explore this a bit. The basic idea is that you define step matchers, which have a regex, and then you match step names against that regex. Kind of tough for me to explain so I''ll just