Sha256: 1457b318640c471cb2482f10f6a559baa78e572aa7a712c50da121386b5fc433

Contents?: true

Size: 370 Bytes

Versions: 11

Compression:

Stored size: 370 Bytes

Contents

require "test_helper"

module CensorBear
  class HomeControllerTest < ActionDispatch::IntegrationTest
    include Engine.routes.url_helpers
    include Devise::Test::IntegrationHelpers

    setup do
      @user = FactoryBot.create(:user)
      sign_in(@user)
    end

    test "should get index" do
      get welcome_url
      assert_response :success
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
censor_bear-0.1.29 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.28 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.27 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.26 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.25 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.24 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.23 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.22 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.21 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.20 test/controllers/censor_bear/home_controller_test.rb
censor_bear-0.1.19 test/controllers/censor_bear/home_controller_test.rb