Skip to content

Commit

Permalink
Fixes build
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric de Villamil committed Aug 21, 2013
1 parent 1af3f87 commit 75ad1ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/user_spec.rb
Expand Up @@ -328,7 +328,7 @@ def set_password(newpass)
end
end

describe "User's Twitter configuration" do
describe "User's Twitter configuration" do
it "A user without twitter_oauth_token or twitter_oauth_token_secret should not have Twitter configured" do
user = FactoryGirl.build(:user)
user.has_twitter_configured?.should == false
Expand All @@ -355,7 +355,7 @@ def set_password(newpass)
end

it "A user with a twitter_oauth_token_secret and no twitter_oauth_token should not have Twitter configured" do
user = FactoryGirl.build(:user, twitter_oauth_token_secret: "67890")
user = FactoryGirl.build(:user, twitter_oauth_token: "", twitter_oauth_token_secret: "67890")
user.has_twitter_configured?.should == false
end

Expand Down

0 comments on commit 75ad1ab

Please sign in to comment.