search for: and_return_valu

Displaying 2 results from an estimated 2 matches for "and_return_valu".

Did you mean: and_return_value
2006 Dec 18
2
should_receive and multiple return values
...03-01,mi73825,ft42" } ) end But it doesn''t because and_return is setting up multiple method calls, not multiple return values. I don''t imagine multiple return values are used that often, but they can be handy. Would there be any use in another method, maybe and_return_values or something to allow you to specify them? Since they are possible in Ruby, it makes sense that you should be able to specify them in RSpec. I got around it, of course, using an array return and the * expand operator, but I avoid that when I can Ashley
2007 Jul 26
5
Coding standards and whitespace
...mand RSpec.tmbundle/Commands/Run Specifications - Normal.tmCommand RSpec.tmbundle/Commands/Run Specifications in selected files or directories.tmCommand RSpec.tmbundle/info.plist RSpec.tmbundle/Snippets/and_raise.tmSnippet RSpec.tmbundle/Snippets/and_return_block.tmSnippet RSpec.tmbundle/Snippets/and_return_value.tmSnippet RSpec.tmbundle/Snippets/and_throw.tmSnippet RSpec.tmbundle/Snippets/and_yield.tmSnippet RSpec.tmbundle/Snippets/any_number_of_times.tmSnippet RSpec.tmbundle/Snippets/at_least.tmSnippet RSpec.tmbundle/Snippets/at_least_once.tmSnippet RSpec.tmbundle/Snippets/at_least_twice.tmSnippet RSpec....