Sha256: 642520ccae0e49aec9a19a08ead68241005f32f2f8e73089a88647426e2d6f92

Contents?: true

Size: 807 Bytes

Versions: 3

Compression:

Stored size: 807 Bytes

Contents

require 'spec_helper'

describe Gaku::Admin::PresetsController do

  before { as :admin }

  describe 'GET #students' do
    it 'is successful' do
      gaku_get :students
      response.should be_success
    end

    it 'renders the :students view' do
      gaku_get :students
      response.should render_template :students
    end
  end

  describe 'GET #locale' do

    it 'is successful' do
    gaku_get :locale
    response.should be_success
  end

  it 'renders the :locale view' do
    gaku_get :locale
    response.should render_template :locale
    end
  end

  describe 'GET #grading' do
    it 'is successful' do
    gaku_get :grading
    response.should be_success
  end

  it 'renders the :grading view' do
    gaku_get :grading
    response.should render_template :grading
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gaku-0.0.3 core/spec/controllers/gaku/admin/presets_controller_spec.rb
gaku-0.0.2 core/spec/controllers/gaku/admin/presets_controller_spec.rb
gaku-0.0.1 core/spec/controllers/gaku/admin/presets_controller_spec.rb