I\'m implementing a statistical algorithm that needs access to a large sample dataset for proper testing.Large being 50,000 rows in a single table, MySQL.
I\'m a little confused about what is going on with the scaffold controller specs that rspec generates.It seemed to be making sense until I added authorization to my app and now I need to update my tes
I\'m getting started with cucumber, and I have written the following step definition, which basically I copied from the rspec test I already had.
Now that I have CanCan and Devise working nicely I need to add to my tests. Should I expect to end up with double the number of tests, maybe more?I need to test everything as a\"guest\" user then tes
I\'m using factory girl with rspec, here is what I have: factories.rb Factory.define :user do |f| f.sequence(:fname) { |n| \"fname#{n}\" }
I\'m trying to run controller specs with devise 1.3.4. (and factory girl) I followed the instructions in the git wiki for the project.I am able to log in as a user using the login_user method created
In rspec and similar testing frameworks, how does one test for the absence of a method? I\'ve just started fiddling with rspec and bacon (a simplified version of 开发者_C百科rspec.) I wanted to defin
I have a Groups Controller with a method def inbox. If the user is a group member then inbox returns a JSON object.
So currently I have included the following in my .bashrc file. export RUBYLIB=/home/git/project/app/helpers
I can find recommendations for testing devise user controllers and views in RSpec.I\'ve also seen suggestions开发者_高级运维 that the devise gem code is already tested so it\'s not useful to spend a l