Displaying 4 results from an estimated 4 matches for "railsexampl".
Did you mean:
railsexample
2007 Nov 26
8
Renaming RailsExample to RailsExampleGroup
Fyi, I made the following renames:
* RailsExample -> RailsExampleGroup
* FunctionalExample -> FunctionalExampleGroup
* ControllerExample -> ControllerExampleGroup
* ViewExample -> ViewExampleGroup
* HelperExample -> HelperExampleGroup
* ModelExample -> ModelExampleGroup
This was done to keep the naming consistent with ExampleGr...
2007 Oct 31
6
Autotest busted with Rspec/Rails trunk
Just upgraded to latest rails and rspec builds and my autotest doesnt
work
undefined method `before'' for Spec::Rails::DSL::RailsExample:Class
(NoMethodError)
Here''s the full trace:
http://pastie.caboo.se/112754
Any ideas?
--
Posted via http://www.ruby-forum.com/.
2007 Oct 26
7
rspec_autotest failing
...method of auto testing specs? It''s an old article, and after
grabbing the plugin, and giving it a run, it fails with:
$ rake spec:autotest:rails
trunk/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/rails_example.rb:31: undefined method `before'' for Spec::Rails::DSL::RailsExample:Class (NoMethodError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require''
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require''
from trunk/vendor/rails/activerecord/lib/../../activesupport/lib/ac...
2007 Nov 09
26
RSpec on Rails 2.0
...s running
from autotest, and am able to do "rake spec:doc" and get the basic
command line spec printout. I''d like be able to generate the html spec
printout, so I tried "spec spec --format html" but got the "undefined
method `before'' for Spec::Rails::DSL::RailsExample:Class
(NoMethodError)" mentioned in the "Autotest busted with Rspec/Rails
trunk" thread from this forum.
I was wondering if anyone else has been able to get the spec printouts
working with edge rails and if so what versions of
rails/rspec/rspec_on_rails were used.
Thanks for your...