```ruby
require 'spec_helper'
describe "archive" do
  before(:each) do
    Factory(:post, title: "post X")
  end

  it "lists archived posts" do
    visit "/monologue"
    within(".sidebar") do
      page.should have_content("post X")
    end
  end
end```

Check archive more specifically in request spec
user
```ruby
require 'spec_helper'
describe "archive" do
  before(:each) do
    Factory(:post, title: "post X")
  end

  it "lists archived posts" do
    visit "/monologue"
    within(".archive") do
      page.should have_content("post X")
    end
  end
end```
assistant