Sha256: 494898ee5bfbbcf8fe8f0e0eb38808020a1ad434c892492b84524b6839eb7d3a

Contents?: true

Size: 487 Bytes

Versions: 14

Compression:

Stored size: 487 Bytes

Contents

run 'rm spec/controllers/admin/dashboard_controller_spec.rb'

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

14 entries across 14 versions & 2 rubygems

Version Path
rails-maker-0.1.11 templates/default/lib/admin/dashboard_spec.rb
rails-maker-0.1.9 templates/default/lib/admin/dashboard_spec.rb
rails-maker-0.1.7 templates/default/lib/admin/dashboard_spec.rb
rails-maker-0.1.1 templates/default/lib/admin/dashboard_spec.rb
prologue-0.6.0 templates/default/lib/admin/dashboard_spec.rb
prologue-0.5.5 templates/admin/dashboard_spec.rb
prologue-0.5.0 templates/admin/dashboard_spec.rb
prologue-0.4.0 templates/admin/dashboard_spec.rb
prologue-0.3.11 templates/admin/dashboard_spec.rb
prologue-0.3.10 templates/admin/dashboard_spec.rb
prologue-0.3.9 templates/admin/dashboard_spec.rb
prologue-0.3.7 templates/admin/dashboard_spec.rb
prologue-0.3.6 templates/admin/dashboard_spec.rb
prologue-0.3.0 templates/admin/dashboard_spec.rb