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