Skip to main content
Fallback
I have an error of the following form and I am unable to point out the error.
Testing • Asked by Ananya Singh
 Unable to autoload constant CONSTANT_NAME, expected TESTING_FILE_PATH to define it
4
posts

Fallback
i18n + Minitest
Testing • Asked by Lluis Toyos
I have a complete rails application with Tests (Minitest 100% coverage)I'm trying to use i18n in this app, as told  in http://guides.rubyonrails.org/i18n.html , taking the locale from the url ( htt...
2
posts

Fallback
Check if class was instantiated and instance method was called
Testing Solved • Asked by Alex Musayev
Hey guys! I'd like to figure out a way to test piece of code that suppose to create an instance of particular class. Here is an example: ``` ruby class Subject def call ... end end ...
2
posts

Fallback
Issue with Capybara file uploads testing
Testing • Asked by Anton Storchak
Hello! I have issue with uploading files by Capybara Rspec Selenium. Here is more details about it: https://stackoverflow.com/questions/48499129/capybara-upload-images-issue Please help!
1
post

Fallback
Ruby on Rails 5.1 & Vue.js 2.4.x – Testing with Karma, Jasmine – How to install? [bounty on stackoverflow]
Testing • Asked by Pascal K
I asked the same Question on [stackoverflow](https://stackoverflow.com/questions/46194455/ruby-on-rails-5-1-vue-js-2-4-x-testing-with-karma-jasmine-how-to-install) I have Rails 5.1.x and Vue.js ...
2
posts

Fallback
Struggling with an association test
Testing • Asked by John Sanderbeck
I have a project that has a User, a Building, and a Role There is a building_roles table that is user_id, building_id, and role_id Then I have a has_many :users through building_roles There is a...
2
posts

Fallback
Capybara is sending HTML format on request instead of JS
Testing • Asked by Zubin Teherani
The feature works perfectly on the browser, however on the tests when Capybara clicks the submit button the request is processed as an HTML: `Processing by SearchController#index as HTML` Inste...
1
post

Fallback
Workflow for TDD/BDD on Rails ?
Testing • Asked by Lykos
Hi, I'd like some feedback if possible about the workflow of TDD/BDD on a Rails app. I was doing a research the whole weekend trying to find some good examples on how to do porperly TDD on my Rails...
2
posts

Fallback
Can someone help explain how to use test_double to mock a gem class in my app?
Testing • Asked by Bill Snapper
Hello, My app uses a gem that goes out to network devices. I want to write some specs that test my classes without going out to the network devices via the gem. I want to use test_double or so...
8
posts

Fallback
RSpec w/capybara vs Mini Test
Testing • Asked by Drilon Buzuku
Hey guys, what are your thoughts on RSpec vs Mini Test. Which one do you use and why? Cheers, Drilon
5
posts

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

More of a social being? We're also on Twitter and YouTube.