Matthew Kennedy

Joined

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?