auto_wizard_spec.rb 371 B

1234567891011121314151617
  1. require 'rails_helper'
  2. RSpec.describe 'Auto wizard', type: :system, set_up: false do
  3. it 'Automatic setup and login' do
  4. FileUtils.ln(
  5. Rails.root.join('contrib/auto_wizard_test.json'),
  6. Rails.root.join('auto_wizard.json'),
  7. force: true
  8. )
  9. visit 'getting_started/auto_wizard'
  10. expect(current_login).to eq('master@example.com')
  11. end
  12. end