spec error fixed

This commit is contained in:
yafeilee 2014-03-30 10:58:07 +08:00
parent 5b4fd113e7
commit a4ced042df
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ describe HomeController do
describe "GET 'index'" do
it "returns http success" do
get 'index'
expect(response).to redirect_to("http://who.yafeilee.me")
expect(response).to be_success
end
end