search for: execute_examples

Displaying 5 results from an estimated 5 matches for "execute_examples".

2007 Dec 07
4
strange error on mock proxy
...execute'' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/1.8/timeout.rb:48:in `timeout'' vendor/plugins/rspec/lib/spec/example/example_methods.rb:11:in `execute'' vendor/plugins/rspec/lib/spec/example/example_group_methods.rb: 256:in `execute_examples'' vendor/plugins/rspec/lib/spec/example/example_group_methods.rb: 254:in `each'' vendor/plugins/rspec/lib/spec/example/example_group_methods.rb: 254:in `execute_examples'' vendor/plugins/rspec/lib/spec/example/example_group_methods.rb: 115:in `run''...
2008 Jan 15
0
Problem with ruby-debug and rspec
...te'' /opt/local/lib/ruby/1.8/timeout.rb:48:in `timeout'' /opt/local/lib/ruby/gems/1.8/gems/rspec-1.1.2/lib/spec/example/example_methods.rb:16:in `execute'' /opt/local/lib/ruby/gems/1.8/gems/rspec-1.1.2/lib/spec/example/example_group_methods.rb:286:in `execute_examples'' /opt/local/lib/ruby/gems/1.8/gems/rspec-1.1.2/lib/spec/example/example_group_methods.rb:285:in `each'' /opt/local/lib/ruby/gems/1.8/gems/rspec-1.1.2/lib/spec/example/example_group_methods.rb:285:in `execute_examples'' /opt/local/lib/ruby/gems/1.8/ge...
2008 Aug 19
5
RSpec raising routing errors where Rails doesn''t?
Hopefully someone here can help me figure out why the ERB: <% form_for(@fund, :url => {:host => PRIVATE_HOST}, :html => {:class => ''fund'', :multipart => true}) do |f| %> raises an error in my specs: No route matches {:action=>"index"} but works fine in my app and generates the following, desired HTML: <form
2007 Dec 13
16
"Tricks" for testing after_create callback???
I''ve got a model Message, which needs to send an email using action mailer after it''s first saved in the database. I want to pass the model to the mailer which then uses methods on the message model to render the email. So the natural way to do this is in an after_create callback on the Message model. But I can''t see an easy way to test this. Here''s my spec
2007 Dec 17
14
Change in isolation behaviour 1.08 - 1.10 ?
Hi, I just moved from 1.08 to 1.10 and now have one example failing, which, under 1.08, passed. Is the due to a change in behaviour? Here''s my spec (removed some passing examples) require File.dirname(__FILE__) + ''/../spec_helper'' describe "A user" do before(:each) do @user = User.new @valid_user = User.new( :email =>