Issues running System Tests due to missing font?
I have written two system tests for my current application and I have now hit a road block. ``` test "visiting the timesheet index without signing in" do visit timesheets_path ass...Stephen Sizer posted
i18n + Minitest
This is the rails test outputRunning via Spring preloader in process 3754 Started with run options --seed 15709 Run options: --seed 15709--=---=---=---=---=---=---=---=---=---=---=---=---=---] ...Lluis Toyos replied
I have an error of the following form and I am unable to point out the error.
Change your class name from `Completed_lesson` to CompletedLessonIts a naming convention in Rails.John Meehan replied
Check if class was instantiated and instance method was called
I figured out the solution. Here are basic concepts:1. To check if an instance method was called, it is possible to use a mock. For example, Minites::Mock.2. To make sure a piece of code (Executor#...Alex Musayev replied • Solved
Issue with Capybara file uploads testing
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!Anton Storchak posted
Struggling with an association test
Thought 1: Sounds like you just need to make sure the role and building are created before the user is. Then, in your model, make sure that the user is associated with a default role and buildi...John Sanchez replied
Capybara is sending HTML format on request instead of JS
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...Zubin Teherani posted
Can someone help explain how to use test_double to mock a gem class in my app?
No worries at all. I happen to be the maintainer for the gem but for this app I don't want or need to perform any operations directly on thermostats. Thanks for the pointer.Bill Snapper replied
Workflow for TDD/BDD on Rails ?
I just want to throw in my 2 cents with regards to TDD and the workflow/practices of a development team. You're correct that "textbook TDD" states you first write specs that don't pass, then you i...Dan LeGrand replied
Testing your markdown
Also, I posted this in slack, but for anyone else that sees this, I forgot that I'm using Redcarpet instead of html-pipeline anymore. It's because html-pipeline is a real pain to deploy to Heroku (...Chris Oliver replied • Solved