Sha256: 8f2f80dc732b6c0e84fb99b88f09b082c1ae35fd65fe898b00036b5d8d4cb080

Contents?: true

Size: 583 Bytes

Versions: 53

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) { ActsAsTenant.current_tenant }

  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

53 entries across 53 versions & 1 rubygems

Version Path
pg_rails-7.6.21.pre.4 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.3 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.2 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.1 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.20 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.19 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.18 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.17 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.16 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.15 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.14 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.13 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.12 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.11 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.10 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.9 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.8 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.7 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.6 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.5 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb