I am reading the 7th chapter about how to test submission with the form with book <The ruby on rails tutorial 6th 2021>, and there are two test ...
I am reading the 7th chapter about how to test submission with the form with book <The ruby on rails tutorial 6th 2021>, and there are two test ...
I am writing a unit test to check whether 24 hours have passed. If 24 hours have passed then it should return true here is my attempt when I run t ...
I have a selector that displays date and time on the page, need to write capybara test to check for just date. How to include regexp in assert_selecto ...
Perhaps it is my lack of familiarity with rspec but i do not understand what is going on with my test. I have 2 classes one called Scrape, the other ...
My Ruby on Rails web application sends a welcome email to clients and I want to write a test to make sure the email contains an tag where the src is a ...
Is there any way to run a single test in ruby under spec/features/abc_spec.rb 'header details' ? Ex: ...
I have two methods without class, they both have same code but return object is different. I am trying to mock it like Problem is, passing objec ...
So here's a strange problem: When I start my local rails app and browse to http://localhost:3000/static_pages/help I can see the page I created there. ...
I'm using the excellent plugin sublime-text-2-ruby-tests with Sublime Text 3 and have it working. However, the tests are relatively slow (about 5-6 se ...
How does Ruby Test:Unit locate test classes in a deep nested folder? I am a Java developer and I understand how JUnit and TestNG can scan folders with ...
Just started messing with sublime text 2 / ruby and I can't get rubytest working for whatever reason. I used the following link to get started (http:/ ...
I have a User model and a Shoppingcart model where and and I have this in routes.rb: and in Shoppingcarts_controller.rb I have and within ...
I'm using RubyTest in Sublime Text 3, opening Sublime from my terminal using the subl command, and running into the following error: The only chang ...
On Windows I'm install RubyTest Plugging for SublimeText3. I'm runing Vagrant with CentOS6.5 where is my Rails4 project with configured rspec. How ...
So I've setup RubyTest / Sublime Text 3 and that works fine. I'm having trouble getting spring to work in RubyTest. There is this cryptic setting: ...
I'm trying to run rspec test on my sublime text 3 with RubyTest package but I'm getting this error I have a good idea what the problem is but I don ...
I am running Windows 7 and have installed the sublime text ruby test. I can run rspec spec/ fine from the command line, however when I try it from sub ...
In SublimeText with RubyTest i'm getting Finished in 0.24053 seconds 6 examples, 0 failures Randomized with seed 6928 [Finished in 6.4s] Bu ...
I found a lot of questions with same title but could not found the appropriate answer. I am testing a controller Player Controller Player Contro ...
I am newbie to ROR and working on a project which provides web services to a game. I have to write the test cases for that services. How I can case ...