similar to: Issues related to jruby 1.0.2/edge rails and rspec head

Displaying 20 results from an estimated 2000 matches similar to: "Issues related to jruby 1.0.2/edge rails and rspec head"

2007 Dec 03
18
Need help mocking this out
Let''s say you''re using the restful_authentication plugin. You have a model called articles. On the index action of the articlescontroller you simply want to spec out that it''ll scope the results to the ownership of the current_user. It should NOT include any articles other than the articles that user owns. How would you properly spec this out? Thanks for the help!
2007 Nov 25
15
Possible Problem with RSpec and
Sorry to be such a pest but I am trying to learn Ruby, Rails and RSpec all at one go and it is a bit overwhelming. I have previously completed the depot tutorial in the Agile Web Dev with rails book and now I am trying do do it again using RSpec. What I would like to know now is why I am getting a rake failure error at the end of every spec:models run. Is this the expected behaviour when a test
2008 Jan 31
6
loading fixtures?
How do you load fixtures from specs as you would test? eg. rake db:fixtures:load RAILS_ENV=development -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080131/38c3b0ab/attachment.html
2008 Jan 08
47
specs on private methods
How does a person test private methods? Is there a way to declare them as private, but retain any tests that were written during the initial development? Thanks. -- Posted via http://www.ruby-forum.com/.
2011 Aug 03
1
the significance of BEKK estimation
Dear ALL, I use BEKK package to estimate Bivariate GARCH model. But when the results come out, there's no t-stat or p-value of the estimated coeffients. Does anyone know how to get the significance? Followings are the codes I input, >P1=data.frame(x,y) >y1=mvBEKK.est(P1) >mvBEKK.diag(y1) Anyhelp would be appreciated! Sincere, Zoe -- View this message in context:
2007 Nov 28
1
Replacing the database in Active Record with RPC-based interface
Hi there, We''re about to move our persistent store from a MySQL database to an RPC-based data store. However, we really like programming against the AR-api, and would like to keep as much as possible from, so that we can keep stuff like callbacks, validations, relations etc. How would you do it? Does it make sense to replace the mysql-adapter with and RPC-based adapter, translating
2013 Feb 19
1
Are there multivariate GARCH packages in R?
Hi , Are there any multivariate GARCH package (e.g., BEKK) in R? I do see a few "projects" constructing multivariate GARCH package, but wonder if there is anyone that is ready for use. Thanks, Miao [[alternative HTML version deleted]]
2010 Feb 22
0
How to run the VECM BEKK model in R?
Dear all, I want to run the VECM BEKK model, but I cannot find the corresponding package to run this model. Anybody can help? Thanks a lot Ted -- View this message in context: http://n4.nabble.com/How-to-run-the-VECM-BEKK-model-in-R-tp1564555p1564555.html Sent from the R help mailing list archive at Nabble.com.
2011 Jul 18
0
BEKK help?
I used "mgarch" and "mgarchBEKK" packages to esti,ate a BEKK?model ,but i cannot get the P-value of the coefficient ? how can I get P-value ,anyone can help me ? thanks -- View this message in context: http://r.789695.n4.nabble.com/BEKK-help-tp3674545p3674545.html Sent from the R help mailing list archive at Nabble.com.
2013 Feb 21
0
About multivariate GARCH: DVEC and BEKK
Dear All, I attempted to fit a DVEC and a BEKK multivariate GARCH model, but am wondering which package to use. 1. I tried to use "rmgarch" package in R, but I couldn't find the subroutines for DVEC and BEKK. 2. I tried to find "rmgarch" package of R, which is not located on the official R site. This is the latest version I can find, where the programs were
2007 Nov 28
6
Broken edge
Hi all, Not sure if I''m the only one with this problem... We''re on edge for both rails and rspec, and i just did an update... Some apparently innocuous rails stuff was updated, and then half my specs broke due to an error in rspec_on_rails: ArgumentError in ''UserController without logged in user should show the index page'' wrong number of arguments (2
2007 Dec 11
6
Rspec 1.0.8 with Rails 2.0
Is it OK to go ahead and generate a Rails 2.0 project with RSpec 1.0.8? Am I likely to run into problems? Would it be best advised to wait or can I go ahead now? Thanks, Yitzhak -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071212/c6fcea0f/attachment.html
2010 Nov 15
0
mgarch-BEKK
Dear all.. Can anybody help me with mgarchBEKK? After estimate bekk model, i want to check whether the residuals meet the required assumptions. Can i perform Portmanteau test, the ARCH-LM test, plots of the AC and PAC functions of the residuals? Can you give some example with the script in R? Please.. Thank You So Much [[alternative HTML version deleted]]
2008 Mar 20
5
sharing story steps
Hi, How can I have a common set of steps that all my stories share? i.e. My stories often start out looking like this: Given a user Joe Given a user Jordan then: Given("a user $username") do |username| @users ||= {} @user_sessions ||= {} @users[username] = create_user(:username => username) @user_sessions[username] = login_as(@users[username]) end I want to share that
2012 Jul 06
0
Running Rspec tests with JRuby fails
How to run RSpec tests with JRuby in a Java project? I tried to run it with JRuby 1.7.0.preview1, rspec (2.10.0) rspec-core (2.10.1) rspec-expectations (2.10.0) rspec-mocks (2.10.1) rspec-rails (2.10.1) as follows: jruby -S rspec and got the error: javix at ubuntu:~/Development/rspec_jruby$ jruby -S rspec spec NameError: cannot load Java class com.models.Calculator for_name at
2007 Sep 24
2
Is Rcov working with Jruby now?
Hello everyone: I am currently assigned to test a big project which uses JRuby to build a web application. The reason of using JRuby is the web application is communicating with Java Service. I am writing test cases using Rspec and looking for a code coverage tool. Rcov is no doubt a nice code coverage tool. However, it is said that Rcov is not compatible with JRuby so far. Sigh....I can not
2011 Aug 11
0
JRuby + Rails3 + Unit Tests = "Log" issue?
Hey all, I am working on a Rails 3.0.7 application that is using JRuby 1.6.3, running on Debian. I keep encountering an error regarding a missing "Log" file when I am trying to run some Unit tests (among various other activities). The cryptic error in question: LoadError: No such file to load -- Log Has anyone seen anything like this before? I am baffled as to where to even begin to
2007 Oct 24
1
Status of Merb on JRuby
I''ve submitted a few patches on Trac to help get Merb running under JRuby [0][1][2][3][4]. It''d be cool if any of you committers could find the time to look them over and apply/reject them. They''re mostly tiny, so it shouldn''t be too onerous. With all of these patches applied, there are still 3 spec failures. One is in the spec ''a merb mailer
2007 Dec 28
1
WEBrick.. won't start and showing '/rails-2.0.2/lib/initializer.rb:159:in `require_frameworks': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError)' errors
Hi WEBric won''t strat and showing the following errors:- => Booting WEBrick... /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/rails-2.0.2/ lib/initializer.rb:159:in `require_frameworks'': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError) from /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/ rails-2.0.2/lib/initializer.rb:156:in
2012 Jan 17
2
does jruby rspec have to use selenium?
With jruby and rspec requests, do you have to use selenium webdriver? I''m confused, with ruby and rubyonrails using cucumber with capybara, I didn''t have to set the default driver, what was it using and can i use that with jruby? Things just worked w/o me even having to know about it :) -------------- next part -------------- An HTML attachment was scrubbed... URL: