similar to: Re: RubyOnRails build 8525 failed

Displaying 20 results from an estimated 2000 matches similar to: "Re: RubyOnRails build 8525 failed"

2007 Oct 07
0
Rails AR/Oracle Unit Test: [7769] failed (getting worse)
"bitsweat" has kicked AR/Oracle while it was down... http://dev.rubyonrails.org/changeset/7769 ------------------------------------------------------------------------ r7769 | bitsweat | 2007-10-06 22:29:37 -0700 (Sat, 06 Oct 2007) | 1 line MySQL: speedup date/time parsing. ------------------------------------------------------------------------ U
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
"bitsweat" has given AR/SQLServer some love, but it''s still unhappy... http://dev.rubyonrails.org/changeset/6912 ------------------------------------------------------------------------ r6912 | bitsweat | 2007-05-31 10:15:56 -0700 (Thu, 31 May 2007) | 1 line Fix an edge case with find with a list of ids, limit, and offset. Closes #8437.
2007 Dec 05
0
[CruiseControl] RubyOnRails build 8285 failed
The build failed. CHANGES ------- Revision 8284 committed by marcel on 2007-12-05 14:40:42 Add examples in the documentation for various assertions. Closes #9938 [zapnap] M /trunk/actionpack/CHANGELOG M /trunk/actionpack/lib/action_controller/assertions/response_assertions.rb M /trunk/actionpack/lib/action_controller/assertions/dom_assertions.rb M
2006 Oct 12
1
did something in revision 68 break stubs?
Hi, I''ve been a happy user of Mocha for a while now. My current project is by far the most complicated I''ve ever worked on and Mocha has made testing it much easier than it would otherwise be. So, I was highly disturbed to come in this morning, run svn up and find that something in today''s update broke lots of my tests. I use Mocha as a Rails plugin under
2007 Mar 23
2
Mocha 0.4.0 Hates My App
Hi all - I''ve recently made the leap from FlexMock to Mocha for mocks within my app. Today I decided to upgrade from Mocha 0.3.2 to Mocha 0.4.0. So I updated the gem, started rake and went to get some coffee. I came back 5 mins later and my units (which were clean) are now reporting 97 failures (!!!). Every failure reports a callstack like this: 18) Error:
2007 Feb 06
2
Testing RJS actions
Hi all ! This is my test: def test_destroy_xhr Article.expects(:find).with("1").returns(@article = mock("article")) @article.expects(:destroy).returns(true) delete :destroy, :id => 1, :format => :js assert_template "destroy.rjs" end And my implementation: def destroy @article.destroy respond_to do |format| format.html {
2008 Mar 29
0
[CruiseControl] RubyOnRails build 9128 fixed
The build has been fixed. CHANGES ------- New revision 9128 detected Revision 9128 committed by bitsweat on 2008-03-29 00:26:15 Revert spurious commit from [9126] M /trunk/actionpack/lib/action_view/helpers/active_record_helper.rb Revision 9127 committed by bitsweat on 2008-03-29 00:04:27 Track changes to unsaved attributes M /trunk/activerecord/CHANGELOG A
2007 Dec 21
0
[CruiseControl] RubyOnRails build 8464 failed
The build failed. CHANGES ------- Revision 8463 committed by bitsweat on 2007-12-21 11:51:01 Ruby 1.9 compat: url helper encoding M /trunk/actionpack/lib/action_view/helpers/url_helper.rb Revision 8464 committed by bitsweat on 2007-12-21 11:51:17 Ruby 1.9 compat: text helper M /trunk/actionpack/test/template/url_helper_test.rb M /trunk/actionpack/test/testing_sandbox.rb M
2007 Dec 17
0
[CruiseControl] RubyOnRails build 8431 failed
The build failed. CHANGES ------- Revision 8431 committed by bitsweat on 2007-12-17 18:54:55 Ruby 1.9 compatibility. References #1689. M /trunk/railties/test/boot_test.rb M /trunk/railties/lib/tasks/documentation.rake M /trunk/railties/CHANGELOG M /trunk/railties/dispatches/gateway.cgi M /trunk/railties/lib/tasks/framework.rake M /trunk/railties/lib/tasks/testing.rake M
2007 Jun 23
0
[CruiseControl] RubyOnRails build 7089.1 fixed
The build has been fixed. CHANGES ------- Revision 7089 committed by bitsweat on 2007-06-23 01:58:41 Mock the beginning of the transaction also. References #8642. M /trunk/activerecord/test/transactions_test.rb M /trunk/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb See http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails/7089.1 for details.
2008 Feb 07
2
[CruiseControl] RubyOnRails build 8820 fixed
The build has been fixed. CHANGES ------- Revision 8820 committed by bitsweat on 2008-02-07 23:10:01 Remove empty .rhtml templates D /trunk/actionmailer/test/fixtures/templates/signed_up.rhtml D /trunk/actionmailer/test/fixtures/helper_mailer/use_example_helper.rhtml D /trunk/actionmailer/test/fixtures/first_mailer/share.rhtml D
2007 Mar 30
7
problem with using any_instance
Hey all, I have a question with using mocha in my tests. In the same test file, I have two tests, <code> def test_a klass.any_instance.stubs(:method_name).returns("something") klass.new.method_name ... end def test_b ... klass.new.method_name ... end </code> where klass is some class when the tests run, test _a passes, but test_b had an error like this:
2008 Feb 19
1
[CruiseControl] RubyOnRails build 8896 failed
The build failed. CHANGES ------- Revision 8896 committed by bitsweat on 2008-02-19 02:56:05 Don''t assume all records from nested include are of same class. Closes #11154 [acechase] M /trunk/activerecord/lib/active_record/association_preload.rb A /trunk/activerecord/test/cases/associations/eager_load_nested_include_test.rb TEST FAILURES AND ERRORS ----------------------- Name:
2007 Jun 15
0
Fwd: [ mocha-Patches-11583 ] Mocha 0.5.0 throwing unexpected warnings, one line patch included
Begin forwarded message: > From: <noreply at rubyforge.org> > Date: 15 June 2007 10:44:07 BDT > To: noreply at rubyforge.org > Subject: [ mocha-Patches-11583 ] Mocha 0.5.0 throwing unexpected > warnings, one line patch included > > Patches item #11583, was opened at 2007-06-14 21:28 > You can respond by visiting: > http://rubyforge.org/tracker/? >
2007 Dec 21
5
Mocha and rails 2.0.2?
Folks- With Rails 2.0.2, I''m seeing mocha failures where they did not fail with Rails 2.0.1 test_set_to_process_fail_in_transaction(FileRecordTest): NoMethodError: undefined method `ord'' for 63:Fixnum /home/wolpert/svn/rubylms/vendor/plugins/mocha/lib/mocha/class_method.rb:45:in `hidden_method''
2006 Jul 07
1
Rails AR/Oracle Unit Test: [4578] failed (but getting better)
"bitsweat" has given AR/Oracle some love, but it''s still unhappy... http://dev.rubyonrails.org/changeset/4578 ------------------------------------------------------------------------ r4578 | bitsweat | 2006-07-07 10:34:45 -0700 (Fri, 07 Jul 2006) | 1 line find_one uses find_every.first instead of find_initial since its primary key constraint obviates find_initial''s
2007 Sep 06
1
any reason we can''t use the concise stubs on Object
I like the concise version of stubs available on true mocks: => #<Mock:0x32f76d4> >> foo.stubs(:one => ''hi'', :two => ''again'') => {:one=>"hi", :two=>"again"} Why can''t we do it on ''real'' objects? >> foo = Object.new >> foo.stubs(:method1 => ''a'',
2007 Dec 23
0
Fwd: [ mocha-Bugs-16523 ] Ruby 1.9 gives warning
FYI - I''ve just released Mocha 0.5.6 to make Ruby 1.9 compatibility fixes available for those using released packages rather than subversion trunk. I''m not feeling well and so haven''t been able to test it other than by running all the tests using Ruby 1.9. Please let me know if you have any problems using it. Remember that it sometimes takes a while for a new gem
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
I happened to mix ryan bates'' authentication scaffold with rspec_scaffold on a demo project. and ran into the problem of mixing mock frameworks...ryan uses mocha. So, as a learning experience, I choose to redo ryan''s tests without mocha but ran into a strange problem with tests of the User model. With debugging you can see.... If you run just the user_spec.rb file, everything
2006 Sep 11
1
Aliasing type method in Mocha
Hi, (Mocha and Stubba are great, btw.) Is there any way to alias the call to .type in Mocha? The issue is that AR effectively aliases the normal type method for the Column class (for whatever Adapter.) My code is reflecting on the adapter methods to iterate over the columns in a particular model. This makes it hard to write test code that stubs out columns and mocks my models. E.g. cols =