Sha256: 268a8c46ddce2249887e5dc2305fcb692d9c63e58cee93efefdc248908451c37

Contents?: true

Size: 260 Bytes

Versions: 5

Compression:

Stored size: 260 Bytes

Contents

FinePrint::ApplicationController.class_eval do
  include ApplicationHelper
end

def setup_controller_spec
  class_eval { include ApplicationHelper }
  sign_out
  @user = FactoryBot.create(:user)
  @admin = FactoryBot.create(:user)
  @admin.is_admin = true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fine_print-6.0.1 spec/support/controller.rb
fine_print-6.0.0 spec/support/controller.rb
fine_print-5.0.0 spec/support/controller.rb
fine_print-4.0.1 spec/support/controller.rb
fine_print-4.0.0 spec/support/controller.rb