Sha256: 55f1901d98e15f5ea8d1e668ea15f5811e5464d5667b3391738db37ded560394

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

require 'spec_helper'

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

    it 'is defined' do
      request.body.should include 'true'
    end
  end

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

    it 'is defined' do
      request.body.should include 'true'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
warden-github-rails-1.0.0 spec/integration/view_helpers_spec.rb