Sha256: e08bbcc008cadb602b364119515dae1e82d9cb06762746cc9c443814f0719481

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

require 'authenticate/testing/controller_helpers'
require 'authenticate/testing/view_helpers'

RSpec.configure do |config|
  config.include Authenticate::Testing::ControllerHelpers, type: :controller
  config.include Authenticate::Testing::ViewHelpers, type: :view
  config.before(:each, type: :view) do
    view.extend Authenticate::Testing::ViewHelpers::CurrentUser
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
authenticate-0.7.3 lib/authenticate/testing/rspec.rb
authenticate-0.7.2 lib/authenticate/testing/rspec.rb
authenticate-0.7.1 lib/authenticate/testing/rspec.rb
authenticate-0.7.0 lib/authenticate/testing/rspec.rb