[rspec-users] spec for derived classes question

2010-09-20 Thread Gene Angelo
I assume spec tests be repeated for derived classes? Is there such a thing in rspec as deriving specs? -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [Problem] Rails 3 + RSpec 2 beta 22 with JRuby 1.5.2

2010-09-20 Thread Bruno Cardoso
David Chelimsky wrote: > On Sep 20, 2010, at 9:32 AM, Bruno Cardoso wrote: > >> An important clue I just found out, this seams to be a problem with >> Netbeans. If I run "jruby -S rake spec" in the command line everything >> works OK. >> I only get the problem by running this rake task from Netb

Re: [rspec-users] [Problem] Rails 3 + RSpec 2 beta 22 with JRuby 1.5.2

2010-09-20 Thread David Chelimsky
On Sep 20, 2010, at 9:32 AM, Bruno Cardoso wrote: > An important clue I just found out, this seams to be a problem with > Netbeans. If I run "jruby -S rake spec" in the command line everything > works OK. > I only get the problem by running this rake task from Netbeans. Maybe > Netbeans uses th

Re: [rspec-users] [Problem] Rails 3 + RSpec 2 beta 22 with JRuby 1.5.2

2010-09-20 Thread Bruno Cardoso
An important clue I just found out, this seams to be a problem with Netbeans. If I run "jruby -S rake spec" in the command line everything works OK. I only get the problem by running this rake task from Netbeans. Maybe Netbeans uses the "--runner" option in the background and rspec 2.0 doesn't

[rspec-users] [Problem] Rails 3 + RSpec 2 beta 22 with JRuby 1.5.2

2010-09-20 Thread Bruno Cardoso
Hi, I created a clean rails 3 project and installed rspec 2 beta 22, created a simple test case and run all my test using "rake spec", i get this error: D:/ruby/rubies/jruby-1.5.2/bin/jruby.bat -S bundle exec rspec "./spec/test_spec.rb" D:/ruby/rubies/jruby-1.5.2/lib/ruby/1.8/optparse.rb:1451:in

Re: [rspec-users] undefined method `has_selector?' for "":String

2010-09-20 Thread Toni Tuominen
You should use this gem: http://github.com/grimen/rspec_tag_matchers - Toni On Sun, Sep 19, 2010 at 9:16 PM, David Chelimsky wrote: > On Sep 19, 2010, at 12:44 PM, Lord Raiden wrote: > >> I'm running rails 3.0.0 on ruby 1.9.2p0. >> >> I've rspec beta 22 with Capybara 0.3.9. NO WEBRAT. >> >> I'm

[rspec-users] using rcov with rspec2

2010-09-20 Thread nathanvda
I have using rcov together with rspec2 using the following rake task: desc "Run all specs with rcov" RSpec::Core::RakeTask.new("test_cov") do |t| t.rcov = true t.rcov_opts = %w{--rails --include views --exclude gems\/,spec \/,features\/,seeds\/} end but since the latest beta, this