Sha256: 3f4cdb96c6866c52443623c8a56bc008dd21ccc8950b713ffe30e4a84c571146

Contents?: true

Size: 331 Bytes

Versions: 21

Compression:

Stored size: 331 Bytes

Contents

require 'test_helper'

class HelperTest < ActiveSupport::IntegrationCase

  teardown do
    Capybara.reset_sessions!
  end

  test 'Current user helper' do
    user_factory 'Bob', 'bob', 'secret'
    sign_in_as 'bob', 'secret'

    within '#topnav' do
      assert page.has_content?('You are signed in as Bob.')
    end
  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
quo_vadis-1.4.2 test/integration/helper_test.rb
quo_vadis-1.4.1 test/integration/helper_test.rb
quo_vadis-1.4.0 test/integration/helper_test.rb
quo_vadis-1.3.2 test/integration/helper_test.rb
quo_vadis-1.3.1 test/integration/helper_test.rb
quo_vadis-1.3.0 test/integration/helper_test.rb
quo_vadis-1.2.3 test/integration/helper_test.rb
quo_vadis-1.2.2 test/integration/helper_test.rb
quo_vadis-1.2.1 test/integration/helper_test.rb
quo_vadis-1.2.0 test/integration/helper_test.rb
quo_vadis-1.1.2 test/integration/helper_test.rb
quo_vadis-1.1.1 test/integration/helper_test.rb
quo_vadis-1.1.0 test/integration/helper_test.rb
quo_vadis-1.0.7 test/integration/helper_test.rb
quo_vadis-1.0.6 test/integration/helper_test.rb
quo_vadis-1.0.5 test/integration/helper_test.rb
quo_vadis-1.0.4 test/integration/helper_test.rb
quo_vadis-1.0.3 test/integration/helper_test.rb
quo_vadis-1.0.2 test/integration/helper_test.rb
quo_vadis-1.0.1 test/integration/helper_test.rb