I use Rails 3, Capybara 0.4.0, Akephalos (https://github.com/sorentwo/akephalos) Selenium-webdriver and Rspec 2. I use ruby 1.9
Working through the Ruby on Rails Tutorial and stuck here \"To run RSpec and Spork with Autotest, we need to configure RSpec to use the --drb option by default, which we can arrange by adding it to th
I´m testing my rails app using rspec and remarkable. I have the following spec describe Trade do it { should validate_presence_of(:type) }
I have a simple method that I want to test with RSpec.I want to ensure that apply decrements player.capacity by one.To do this, I have mocked a player object and am testing to see if it receives the c
When I run: rails generate rspec:install I g开发者_高级运维et this output: identical.rspec existspec
hii guys, I hav开发者_Python百科e a query that i want to generate a html report of all my test cases of all controllers..
I want to test this destroy action: def destroy @comment = Comment.find(params[:id]) @comment_id = @comment.id
Following the RailsTutorial, I keep getting this error message (one of four actually) when it should be working:
After some time of doing Cucumber & RSpec BDD, I realized that many of my Cucumber features are just higher level view tests.
I want to create a get request in rspec. get :exec, {:query=>\"bla\", :id => \"something\", :user_id => \"user\"