Sha256: 306fb507e3d0def8cf1679b083e92d1bf82570e3e96aeee8e05143aa319c7bb9
Contents?: true
Size: 552 Bytes
Versions: 12
Compression:
Stored size: 552 Bytes
Contents
# 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
12 entries across 12 versions & 2 rubygems