Sha256: 719e1af1bae009fa651c434fda7f9308de83fc160b804c3d7cc80c6fb2dc43f7

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

require 'spec_helper'

RSpec.describe Manager::WelcomeController, :type => :controller do

  render_views

  before :each do
    setup_users
    sign_in :user, @manager
    setup_sites
    Report.all.each { |c| c.remove }
    @r1 = FactoryGirl.create :r1
    @r1.user = @user
    @r1.save
    @r9 = FactoryGirl.create :r9
    Report.all.each do |report|
      report.site = @site
      report.save
    end
  end

  it 'home' do
    get :home
    response.should be_success
  end
end




Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_lib_manager-0.0.1 test/dummy/spec/controllers/ish_lib_manager/welcome_controller_spec.rb~