Sha256: c38b96eef44f79d218883fdbdc71b78c1d06c6dfff915a416ab81851ebde83b2

Contents?: true

Size: 283 Bytes

Versions: 25

Compression:

Stored size: 283 Bytes

Contents

require 'rails_helper'

describe 'DASHBOARD', :tpath_req do
  let(:logged_user) { create :user, :owner }

  before do
    sign_in logged_user
  end

  it 'when requesting /u/t/dashboard' do
    get '/u/t/dashboard'
    expect(response.body).to include '<h1>Dashboard</h1>'
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
pg_rails-7.6.21.pre.5 pg_engine/spec/requests/users/dashboard_spec.rb
pg_rails-7.6.21.pre.4 pg_engine/spec/requests/users/dashboard_spec.rb
pg_rails-7.6.21.pre.3 pg_engine/spec/requests/users/dashboard_spec.rb
pg_rails-7.6.21.pre.2 pg_engine/spec/requests/users/dashboard_spec.rb
pg_rails-7.6.21.pre.1 pg_engine/spec/requests/users/dashboard_spec.rb