Sha256: 318c727e35169fe8411af6eca01ad561db5571240a6c36a4547f9bd380939797

Contents?: true

Size: 250 Bytes

Versions: 13

Compression:

Stored size: 250 Bytes

Contents

require "rails_helper"

RSpec.describe "home/index", type: :system, js: true do
  before do
    driven_by(:selenium_headless)
  end

  it "renders the App component" do
    visit "home/index"

    expect(page.body).to match "App component"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
shakapacker-7.2.3 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.3.0.beta.1 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.2.2 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.2.1 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.2.0 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.2.0.rc.0 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.1.0 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.0.3 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.0.2 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.0.1 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.0.0 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.0.0.rc.2 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb
shakapacker-7.0.0.rc.1 spec/generator_specs/e2e_template/files/spec/system/test_react_component_renders_spec.rb