Sha256: 7ee36f3f4d7d2657fef8274610ade46291847d645edb45be5575167780917bc7
Contents?: true
Size: 909 Bytes
Versions: 101
Compression:
Stored size: 909 Bytes
Contents
require 'rails_helper' describe 'Configuration (Settings)' do fixtures :users before(:each) do @admin = users(:captain_janeway) login_as(@admin, :scope => :user) click_link 'Settings' end # it 'has personal and site preferences' do # expect(page).to have_content 'Personal Preferences' # expect(page).to have_content 'Configuration' # end # it 'lets you edit your personal preferences' do # click_button 'Edit Preferences' # fill_in 'Name', with: 'Captain Kathryn Janeway' # click_button 'Save Changes' # expect(page).to have_content 'Name Captain Kathryn Janeway' # end # it 'lets you edit the site preferences' do # click_button 'Edit Configuration' # fill_in 'Site Title', with: 'My Special Site' # click_button 'Save Changes' # within '#site_title' do # expect(page).to have_content 'My Special Site' # end # end end
Version data entries
101 entries across 101 versions & 1 rubygems