The flash notice test is not working in 2.0.0.beta.8. I tried it with
redirect_to messages_path, :notice = message or redirect_to
messages_path, :flash = {:notice = message }
On Wed, Apr 28, 2010 at 1:08 AM, David Chelimsky dchelim...@gmail.comwrote:
On Apr 27, 2010, at 9:19 PM, Andrei Erdoss
I've been using rspec with webrat, for exactly this sort of thing, as
detailed here: http://blog.veez.us/2009/09/11/integration-testing-without-cucumber
On Apr 27, 2010, at 5:36 AM, Martin DeMello wrote:
I have a series of tests I want to automate, which involve running
shell scripts in a
Rick
Many thanks - I think the idea of breaking out the actual file writing
from the code generation is a great one. I don't need to test File I/O
- I think I can assume that that works just fine...
Many thanks for your help
Ben
___
rspec-users
Hi,
I would like to test whether an array size is either of two integer
obejects
mark_up_parser.sorted_xml.size.should === (4..5)
However I am recieiving an exception of:
expected: 4..5,
got: 4 (using ===)
Do I need to write a custom
On Apr 28, 2010, at 12:53 PM, aidy lewis wrote:
Hi,
I would like to test whether an array size is either of two integer
obejects
mark_up_parser.sorted_xml.size.should === (4..5)
However I am recieiving an exception of:
expected: 4..5,
got: 4
On Apr 28, 2010, at 9:01 AM, Andrei Erdoss wrote:
The flash notice test is not working in 2.0.0.beta.8. I tried it with
redirect_to messages_path, :notice = message or redirect_to messages_path,
:flash = {:notice = message }
Please add an issue for this:
Can someone provide instructions for setting up rspec with Rails on
Google App Engine?
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On 28 April 2010 19:01, David Chelimsky dchelim...@gmail.com wrote:
To phrase it like that, yes. You could to this now:
[4,5].should include(obj.size)
Nice
HTH,
David
Thanks
Aidy
___
rspec-users mailing list
rspec-users@rubyforge.org
I followed the instructions in the rspec book to setup rcov. I appened to the
end of my RAILS_ROOT/Rakefile:
require 'rake'
require 'spec/rake/spectask'
namespace :spec do
desc Run specs with RCov
Spec::Rake::SpecTask.new('rcov') do |t|
t.spec_files =
It looks like it can't find Rcov... do you have rcov installed? can
you rcov --help from a command line?
Thanks
Jay
On Wed, Apr 28, 2010 at 11:10 PM, Patrick J. Collins
patr...@collinatorstudios.com wrote:
I followed the instructions in the rspec book to setup rcov. I appened to
the end of
On Tue, Apr 27, 2010 at 4:56 PM, Patrick J. Collins
patr...@collinatorstudios.com wrote:
If something in the code you are testing depends on the return value
of a method then you would use a stub. e.g.:
Right, but what I am asking is--- if all of my slave methods are relying on
stored card
11 matches
Mail list logo