Skip to content

Commit 6d46ff1

Browse files
justin808claude
andcommitted
Add proper spec_helper require to ReactOnRails::Dev specs
Add relative require_relative '../spec_helper' to properly load the ReactOnRails module and test configuration for Dev specs. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 25af47c commit 6d46ff1

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

spec/react_on_rails/dev/file_manager_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
require_relative "../spec_helper"
4+
35
RSpec.describe ReactOnRails::Dev::FileManager do
46
# Suppress stdout/stderr during tests
57
before(:all) do

spec/react_on_rails/dev/pack_generator_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
require_relative "../spec_helper"
4+
35
RSpec.describe ReactOnRails::Dev::PackGenerator do
46
# Suppress stdout/stderr during tests
57
before(:all) do

spec/react_on_rails/dev/process_manager_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
require_relative "../spec_helper"
4+
35
RSpec.describe ReactOnRails::Dev::ProcessManager do
46
# Suppress stdout/stderr during tests
57
before(:all) do

spec/react_on_rails/dev/server_manager_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
require_relative "../spec_helper"
4+
35
RSpec.describe ReactOnRails::Dev::ServerManager do
46
# Suppress stdout/stderr during tests
57
before(:all) do

0 commit comments

Comments
 (0)