Sha256: 4bb902b53567b49c87ec469af216191ec099ebf5e6c32d9210babbb05cf61873

Contents?: true

Size: 583 Bytes

Versions: 22

Compression:

Stored size: 583 Bytes

Contents

# Initially generated with PgRails::SystemSpecGenerator
# https://github.com/martin-rosso/pg_rails

require 'rails_helper'

# By default uses selenium_chrome_headless_iphone driver
# run with DRIVER environment variable to override, eg:
#
# DRIVER=selenium rspec
describe '<%= name %>' do
  subject(:visitar) do
    visit 'some url'
  end

  let(:logged_user) { create :user }
  let(:account) { logged_user.current_account }

  before do
    login_as logged_user
  end

  describe 'some case' do
    it do
      visitar

      expect(page).to have_text 'some text'
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
pg_rails-7.4.3 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.4.2 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.4.1 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.4.0 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.3.5 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.3.4 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.3.3 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.3.2 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.3.1 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.3.0 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.2.3 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.2.2 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.2.1 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.2.0 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.1.16 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.1.15 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.1.14 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.1.13 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.1.12 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.1.11 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb