This seems like a very bizarre problem and believe me I\'ve done a lot of searching before posing the question here.I am using the latest version of Rails 3 and Rspec 2 with Ruby 1.9.2, and I can\'t g
Is it possible to check what arguments is being passed to a method when testing with rspec? If I for i.e want to test class A, inside class A i call class B, B is already tested.
In versions of RSpec before 2.0 I could pipe the color output to less or redirect it to a file. In order to do it I simply have to set the RSPEC_COLOR environment variable to true. However, in the new
I\'m trying to run the command \'bundle exec autotest\' in Terminal. I can get RSpec working if I use \'bundle exec rspec spec/\', but I can\'t get autotest (the first command) running. Unfortunately,
I am writing an application that wraps git calls. I need to be able to test it (using rspec), so I\'m archiving a git repository and extracting it upon test execution.
I\'m trying this test. model def self.tweet(url) Twitter.configure do |config| config.consumer_key = APP_CONFIG[\'twitter_consumer_key\']
Sometimes after autotest runs specs and encounters an failure, it will immediately re-run all the specs in the project, which (a) I have no need for and (b) clears the terminal so I can\'t read the re
I\'m looking for tools to monitor/test performance in rails, and I\'m not having much luck finding anything particularly effective. I\'ve read the rails \'performance\' guide, but I use RSpec instead
I\'m building a very small gem to read an image data format and return the image either as a boring ruby array, or a nice narray, depending on a) if an narray has been requested and b) 开发者_运维百科
Given the JSON response: { \"tags\": [ { \"id\": 81499, \"name\": \"sign-in\" }, { \"id\": 81500, \"name\": \"user\"