Sha256: 96614c5e38a5b549f7e4c2091e9acda5c4d9ab39174137b9e1a986b7e3228205

Contents?: true

Size: 398 Bytes

Versions: 10

Compression:

Stored size: 398 Bytes

Contents

require 'spec_helper'

describe 'view helpers' do
  describe '#github_user' do
    subject(:request) { get "/view_tests/user" }

    it 'is defined' do
      expect(request.body).to include('true')
    end
  end

  describe '#github_authenticated?' do
    subject(:request) { get "/view_tests/authenticated" }

    it 'is defined' do
      expect(request.body).to include('true')
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
warden-github-rails-1.3.0 spec/integration/view_helpers_spec.rb
warden-github-rails-1.2.3 spec/integration/view_helpers_spec.rb
warden-github-rails-1.2.2 spec/integration/view_helpers_spec.rb
warden-github-rails-1.2.1 spec/integration/view_helpers_spec.rb
warden-github-rails-1.2.0 spec/integration/view_helpers_spec.rb
warden-github-rails-1.1.2 spec/integration/view_helpers_spec.rb
warden-github-rails-1.1.1 spec/integration/view_helpers_spec.rb
warden-github-rails-1.1.0 spec/integration/view_helpers_spec.rb
warden-github-rails-thinknear-fork-1.1.0 spec/integration/view_helpers_spec.rb
warden-github-rails-1.0.1 spec/integration/view_helpers_spec.rb