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.27 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.26 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.25 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.24 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.24.pre.5 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.24.pre.4 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.24.pre.3 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.23 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.22 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.22.pre.3 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.22.pre.2 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.22.pre.1 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.11 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.10 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.9 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.8 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.7 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.6 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb
pg_rails-7.6.21.pre.5 pg_scaffold/lib/generators/pg_rails/system_spec/templates/system_spec.rb