```ruby
require 'rails_helper' 

describe PagesController do

  describe "GET 'index'" do
    it "returns http success" do
      get 'index'
      response.should be_success
    end
  end

end
```

Fix a deprecation warning, only 1 left...but bed time.
user
```ruby
require 'rails_helper' 

describe PagesController do

  describe "GET 'index'" do
    it "returns http success" do
      get 'index'
      expect(response).to be_success
    end
  end

end
```
assistant