Sha256: 354d299045208a6fece14b47b22bff576c322b32ea34020a28b13a447ec9cf84

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

require 'spec_helper'

RSpec.describe IshLibManager::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