Sha256: 479813fdb827eac14e58314fb653de10f321792108a1eed0e04358e5231185f0
Contents?: true
Size: 575 Bytes
Versions: 5
Compression:
Stored size: 575 Bytes
Contents
require 'spec_helper' # Feature: Sign out # As a user # I want to sign out # So I can protect my account from unauthorized access feature 'Sign out', :devise do # Scenario: User signs out successfully # Given I am signed in # When I sign out # Then I see a signed out message scenario 'user signs out successfully' do user = FactoryGirl.create(:user) signin(user.email, user.password) expect(page).to have_content 'Signed in successfully.' click_link 'Sign out' expect(page).to have_content 'Signed out successfully.' end end
Version data entries
5 entries across 5 versions & 1 rubygems