Displaying 2 results from an estimated 2 matches for "should_not_be_closed".
2006 Dec 19
1
something.should_be_open blows up?
...ArgumentError in ''A new Foo should be open''
wrong number of arguments (0 for 1)
./foo_spec.rb:9:
class Foo
def open?; true; end
end
What''s the deal with that? I looked in the RDoc and nothing seems to
define open?. I can get around it for now by doing the opposite
(should_not_be_closed), but that seems sorta weird. Anyone else have
issues?
Pat
2007 Jul 26
5
Coding standards and whitespace
Recently as a result of using Git I''ve noticed a number of
inconsistencies in the RSpec codebase with respect to whitespace
(mixed line endings, mixed use of spaces and tabs for indentation,
and trailing whitespace at the end of lines). I never would have
noticed, but Git produces nice colorized diff output which highlights
these kinds of inconsistencies.
I wanted to ask if the