bugfixing and rspec tests

This commit is contained in:
Christian Mehlmauer
2012-09-24 18:07:22 +02:00
parent 7056d4ecd7
commit fe1191a51e
6 changed files with 66 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ class WpTarget
def search_replace_db_2_exists?
resp = Browser.instance.get(search_replace_db_2_url)
resp.status == 200 && resp.body[%r{by interconnect}i]
resp.code == 200 && resp.body[%r{by interconnect}i]
end
# Should check wp-login.php if registration is enabled or not