Sha256: b189815df6cb8513cc2c29c3b0e901f510b1d51f46d224153d149fcf3a19149e

Contents?: true

Size: 382 Bytes

Versions: 6

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper'

# FIXME Relies on spec/dummy/config/initializers/omniauth-facebook.rb or you get
# stack/routing/middleware issues.
#
feature "Facebook Registration", :omniauth => true do
  background do
    FactoryGirl.create(:linked_user)
  end

  scenario "Signing up with Facebook" do
    visit '/auth/facebook'
    page.should have_text 'Welcome to the app!'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
socialite-0.1.2 spec/features/facebook_registration_spec.rb
socialite-0.1.1 spec/features/facebook_registration_spec.rb
socialite-0.1.0.pre.7 spec/features/facebook_registration_spec.rb
socialite-0.1.0.pre.6 spec/features/facebook_registration_spec.rb
socialite-0.1.0.pre.5 spec/features/facebook_registration_spec.rb
socialite-0.1.0.pre.4 spec/features/facebook_registration_spec.rb