Trying to reduce the complexity of WpUser#brute_force

This commit is contained in:
erwanlr
2013-04-17 12:48:18 +02:00
parent 0c8c5e2928
commit 4c57a00660
4 changed files with 62 additions and 25 deletions

View File

@@ -34,6 +34,10 @@ describe WpUser do
end
end
describe '#login_url' do
its(:login_url) { should == 'http://example.com/wp-login.php' }
end
describe '#to_s' do
after do
subject.id = 1