Sha256: 8e1ab3e17a87076b9d0460e2a8a509e2a837470034a35af7a371adce2c8a2dbc
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
require 'spec_helper' describe "Website users use the website" do let(:password) { 'user123' } let(:user1) { FactoryGirl.create(:user, password: password, password_confirmation: password) } login_user it "should allow the user to sign in" do within ".alert_message" do page.should have_content('Signed in successfully.') end end it "should allow the user to sign out" do within "div.login_box" do click_link 'Sign out' end within ".alert_message" do page.should have_content('Signed out successfully.') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appyantra_admin-0.0.1 | test/dummy/spec/requests/appyantra_admin/website_users_spec.rb |