Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Add oauth credentials to subscription_test so it passes"

This reverts commit 20f57a5.
  • Loading branch information...
commit 3614d0c84b96ac743d1c5b3319084a003d5eacbb 1 parent 74650c3
Elise Worthy authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 spec/models/subscription_spec.rb
5 spec/models/subscription_spec.rb
View
@@ -17,10 +17,7 @@
describe ".create_with_omniauth(auth, user)" do
it "creates a new subscription with auth info" do
- auth = { "provider" => "twitter",
- "uid" => "asdfj3948d",
- "info" => { "nickname" => "travis" },
- "credentials" => { "token" => "testtoken", "secret" => "testsecret"} }
+ auth = {"provider" => "twitter", "uid" => "asdfj3948d", "info" => { "nickname" => "travis" } }
user = Fabricate(:user)
Subscription.create_with_omniauth(auth, user)
Subscription.all.count.should == 1
Please sign in to comment.
Something went wrong with that request. Please try again.