Displaying 3 results from an estimated 3 matches for "rspec_run".
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
2007 Nov 09
9
fixture_file_upload and edge rspec?
Hi all,
I had some specs that were using fixture_file_upload that were
passing just fine. Then I froze edge rails to get some 2.0
functionality, then a I upgraded to trunk rspec to deal with
uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper
After a couple other of tribulations, I have now gotten down to just
a couple of not passing specs, all using the fixture_file_upload.
2007 Nov 20
3
How to test views with Nested Resources and Partials
...9;'
vendor/plugins/rspec/lib/spec/example/example_runner.rb:23:in `run''
/usr/local/lib/ruby/1.8/timeout.rb:48:in `timeout''
vendor/plugins/rspec/lib/spec/example/example_runner.rb:21:in `run''
vendor/plugins/rspec/lib/spec/example/example_suite.rb:28:in
`rspec_run''
vendor/plugins/rspec/lib/spec/example/example_suite.rb:24:in `each''
vendor/plugins/rspec/lib/spec/example/example_suite.rb:24:in
`rspec_run''
vendor/plugins/rspec/lib/spec/extensions/test/unit/example_suite.rb:7:in
`run''
vendor/plugins/rspec/lib/spec...