Sha256: c68dbb3d3c1df71612845a6339113ec2ba2dcd697fbfdc96249e4d254a26eb93

Contents?: true

Size: 473 Bytes

Versions: 4

Compression:

Stored size: 473 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
    let(:admin) { Fabricate(:admin) }

    before do
      sign_in(admin)
    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
bear-0.0.4 templates/admin/dashboard_spec.rb
bear-0.0.3 templates/admin/dashboard_spec.rb
bear-0.0.2 templates/admin/dashboard_spec.rb
bear-0.0.1 templates/admin/dashboard_spec.rb