Sha256: 60ddde9293b67cf011fd6a46daf6527c136e1e5340cf4e530c5fc1149dce6b74

Contents?: true

Size: 425 Bytes

Versions: 4

Compression:

Stored size: 425 Bytes

Contents

create_file 'spec/controllers/admin/dashboard_controller_spec.rb' do
<<-'FILE'
  require 'spec_helper'
  include Devise::TestHelpers

  describe Admin::DashboardController do
    before(:each) do
      @user = @user ||=Factory.create(:admin)
      sign_in @user
    end

    describe "GET 'index'" do
      it "should be successful" do
        get 'index'
        response.should be_success
      end
    end

  end

FILE
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prologue-0.2.0 templates/admin/dashboard_spec.rb
prologue-0.1.2 templates/admin/dashboard_spec.rb
prologue-0.1.1 templates/admin/dashboard_spec.rb
prologue-0.1.0 templates/admin/dashboard_spec.rb