Displaying 3 results from an estimated 3 matches for "error_generator".
2007 Nov 06
2
Why is this view spec failing?
...e:</label> <%=
f.text_field :first_name %></p>
10: <p><label for="member[last_name]">Last Name:</label> <%=
f.text_field :last_name %></p>
11: </fieldset>
12:
#{RAILS_ROOT}/vendor/plugins/rspec/lib/spec/mocks/error_generator.rb:52:in
`__raise''
#{RAILS_ROOT}/vendor/plugins/rspec/lib/spec/mocks/error_generator.rb:16:in
`raise_unexpected_message_error''
#{RAILS_ROOT}/vendor/plugins/rspec/lib/spec/mocks/proxy.rb:83:in
`raise_unexpected_message_error''
#{RAILS_ROOT}/vendor/plugins/rspec/...
2007 Jan 09
6
rcov seg fault
...post :create, :attendee => { :name => ''Attendee'' }
end
specify ''should render new'' do
controller.should_render :action => ''new''
post :create
end
end
All I get is /usr/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/mocks/error_generator.rb:53:
[BUG] Segmentation fault
I tried variations on the specs and setup, but it fails when only running
the should render new spec and everything else commented out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachm...
2007 Jul 26
5
Coding standards and whitespace
...b
rspec/lib/spec/matchers/raise_error.rb
rspec/lib/spec/matchers/respond_to.rb
rspec/lib/spec/matchers/satisfy.rb
rspec/lib/spec/matchers/throw_symbol.rb
rspec/lib/spec/matchers.rb
rspec/lib/spec/mocks/argument_constraint_matchers.rb
rspec/lib/spec/mocks/argument_expectation.rb
rspec/lib/spec/mocks/error_generator.rb
rspec/lib/spec/mocks/errors.rb
rspec/lib/spec/mocks/message_expectation.rb
rspec/lib/spec/mocks/methods.rb
rspec/lib/spec/mocks/mock.rb
rspec/lib/spec/mocks/order_group.rb
rspec/lib/spec/mocks/proxy.rb
rspec/lib/spec/mocks/space.rb
rspec/lib/spec/mocks/spec_methods.rb
rspec/lib/spec/mocks.rb
rsp...