Sha256: 7e3a909bd35e761aa745fef78aaa9524b0d807edc86b4414775b7ae89dc9cbd0

Contents?: true

Size: 424 Bytes

Versions: 8

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

require "rails_helper"

RSpec.feature "Auth log out", type: :feature do
  describe "while logged in" do
    before { stub_authorization! }

    it "has additional form fields" do
      visit archangel.backend_root_path

      click_link "Log Out"

      expect(page).to have_content "Signed out successfully"
      expect(current_path).to eq(archangel.new_user_session_path)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archangel-0.3.0 spec/features/auth/log_out_spec.rb
archangel-0.0.8 spec/features/auth/log_out_spec.rb
archangel-0.0.7 spec/features/auth/log_out_spec.rb
archangel-0.0.6 spec/features/auth/log_out_spec.rb
archangel-0.0.5 spec/features/auth/log_out_spec.rb
archangel-0.0.4 spec/features/auth/log_out_spec.rb
archangel-0.0.3 spec/features/auth/log_out_spec.rb
archangel-0.0.2 spec/features/auth/log_out_spec.rb