Sha256: df9e4f312c74024a04878816d34f70d3e34057f074f374a337399d3913431682
Contents?: true
Size: 434 Bytes
Versions: 2
Compression:
Stored size: 434 Bytes
Contents
require 'spec_helper' include Warden::Test::Helpers describe HomeController, :type => :controller do context "passed only 1st factor auth" do let(:user) { create_user } describe "is_fully_authenticated helper" do it "should be true" do login_as user, scope: :user visit user_two_factor_authentication_path expect(controller.is_fully_authenticated?).to be_truthy end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
two_factor_authentication-1.1.4 | spec/controllers/two_factor_auth_spec.rb |
two_factor_authentication-1.1.3 | spec/controllers/two_factor_auth_spec.rb |