Sha256: 871acae410b5334a3a60551ac15fa3e43e0f4e28884263438190bb0ac319732b
Contents?: true
Size: 498 Bytes
Versions: 3
Compression:
Stored size: 498 Bytes
Contents
require 'spec_helper' describe 'Admin Presets Grading' do before { as :admin } before do visit gaku.grading_admin_presets_path end context '#default', js:true do it 'saves' do fill_in 'presets_grading_method', with:'Exam' fill_in 'presets_grading_scheme', with:'A' click '#submit-preset' flash_updated? expect(Gaku::Preset.load_presets_hash(Gaku::Preset::PRESETS[:grading])).to eq({grading_method: "Exam", grading_scheme: "A"}) end end end
Version data entries
3 entries across 3 versions & 1 rubygems