[rspec-users] feature suggestion: straight strings

2010-12-20 Thread Roger Pack
Sorry if I mentioned this one before, but has anyone proposed being able to do something like it should be able.to { } ? (or something like that)... Might be preferable where a test description doesn't start with it Thoughts? Thanks. -r -- Posted via http://www.ruby-forum.com/.

Re: [rspec-users] Cucumber: Running a single feature / scenario

2011-05-20 Thread Roger Pack
cucumber path/to/file.feature --line 33 seems to still work (google led me here, too). -- 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] run rspec by hand (without spec command)

2011-07-28 Thread Roger Pack
maybe it runs at at_exit? -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] !~ seems to not work

2011-07-28 Thread Roger Pack
'abc' ~! /def/ = true 'abc'.should !~ /def/ fails though. Seemed unexpected... -roger- -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] pretty inspect for diff?

2011-08-23 Thread Roger Pack
Hello. I noticed this test failed message: https://gist.github.com/1165975 The salient part is this diff: Diff: @@ -1,4 +1,4 @@ -{blank_outs=[[0:00:56.0, 0:00:57.0], [0:01:05, 0:01:14.500]], +{imdb_id=tt1727587, mutes=[], - imdb_id=t1727587}

Re: [rspec-users] ruby 1.8.6

2011-08-23 Thread Roger Pack
It's growing increasingly difficult for RSpec to support Ruby 1.8.6 as other libraries that rspec's development environment relies on drop support. Noting that 1.8.7 was released over three years ago (6/1/2008), I'd like to drop support for Ruby 1.8.6 for future versions of RSpec, but I'd

[rspec-users] slightly confusing error message

2011-08-23 Thread Roger Pack
This error message: it 'should' do proc { eval(a=)}.should raise_exception(/SyntaxError/) end expected Exception with message matching /SyntaxError/, got #SyntaxError: (eval):1: syntax error, unexpected end-of-file Is a bit confusing, since it appears from the error output

[rspec-users] warn on stubbing nonexistent method?

2011-08-26 Thread Roger Pack
Hello. Perhaps rspec-mocks could warn if it stubs a not yet existing method? class A end describe RSpec do it 'should' do a = A.new a.stub!(:nonexistent_method) {} end end This might help the development process by pointing out possible discrepancies between rspec tests and the code

Re: [rspec-users] rspec-mocks and rspec-rails-2.10.1 are released!

2012-05-08 Thread Roger Pack
Thanks David. -- 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] An open source project with very good use of Cucumber?

2012-06-22 Thread Roger Pack
redcar uses it, or at least used to, with good results. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users