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/.
_
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
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
>> '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
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
> 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
This error message:
it 'should' do
proc { eval("a=")}.should raise_exception(/SyntaxError/)
end
expected Exception with message matching /SyntaxError/, got
#
Is a bit confusing, since it appears from the error output that it
*does* match /SyntaxError/
Might be able to word
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 (fo
Thanks David.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
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
10 matches
Mail list logo