Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

RSpec Generator

What you get

RSpec Default

Based of rspec-rails install generator. Assume all configuration will be placed in spec/support/*.rb

System Tests

Released with rails 5.1, these tests cover end to end functionality.

Helpers

In addition to setting this up, we've added a way to include domain specific test helpers for your tests in the spec/support/helpers. These files can be included in support/helpers.rb

Capybara Drivers

Simple short hand for using real browsers to drive your tests.

headless

it 'saves the form data', :js do
  # ...some test
end

Chrome - visible browser

it 'saves the form data', :chrome do
  # ...some test
end

Firefox - visible browser

it 'saves the form data', :firefox do
  # ...some test
end