“認証データのmockを準備 成功と失敗の2パターンを作った。 Twitterのみでテストする。 ”

kent-where-the-light-iskent-where-the-light-is のブックマーク 2016/08/19 15:04

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

RSpec, Capybara - OmniAuthのテスト - Qiita

    require 'rails_helper' feature "OmniAuth interface" do before { OmniAuth.config.mock_auth[:twitter] = nil } describe "new user or non-logged-in user who is not registered with Twitter" do let(:subm...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう