Displaying 2 results from an estimated 2 matches for "r2717".
Did you mean:
2717
2007 Oct 06
4
NO NAME (Because of --dry-run) output
I''m just getting started with rspec, I''m running on edge for both. In
a fresh project, I freeze edge, install the edge rspec plugin. I
generate a simple rspec_model and run the spec. It passes. When I
run rake spec:doc, I get the following output: - NO NAME (Because of
--dry-run) where the specification should be. In fact if I just make
a pending spec, it does the same.
2007 Oct 17
16
rspec causing validates_presence_of to validate twice?
I had posted this on the regular Rails list, but upon trying this in
script/console, it seems like the behavior only exists when running rspec.
I''m getting some weird behavior in one of my models. I have a model
defined something like this
class User < ActiveRecord::Base
attr_accessor :password
validates_presence_of :password
end
If I validate the model without specifying a