Matthew Kennedy

Joined

Subscriber
1,210 Experience
12 Lessons Completed
0 Questions Solved

Activity

Posted in Testing Rails ActionCable with Devise Discussion

How in the world of all things RSpec would you recreate

  class FakeEnv
    attr_reader(:user)

    def initialize(user)
      @user = user
    end
  end

With RSpec's DSL?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2023 GoRails, LLC. All rights reserved.