title: Nesting scenarios with feature specs in Rspec Rails 3
body: <p>I'm using Rspec Rails with Capybara for testing and I want to use the new <a href="https://relishapp.com/rspec/rspec-rails/v/3-0/docs/feature-specs/feature-spec" rel="nofollow">feature spec</a> in RSpec Rails 3 as they <code>read more as customer tests and acceptance tests</code>. However, one thing I find missing from the older (Describe/It) style is <strong>nesting</strong>. When trying to nest <code>scenarios</code> or use <code>background</code> inside any <code>scenario</code> block, I get an <code>undefined method</code> error. Is there anyway I could achieve nesting with feature specs to get something like this (from Michael Hartl's <a href="http://ruby.railstutorial.org/" rel="nofollow">Ruby On Rails Tutorial</a>:</p>
  
  <pre><code>describe "Authentication" do
      subject { page }
  
      describe "authorization" do
          let(:user) { FactoryGirl.create(:user) }
  
          describe "for non-signed in users" do
  
              describe "when attempting to visit a protected page" do
                  before { visit edit_user_path(user) }
                  it "should redirect_to to the signin page" do
                      expect(page).to have_title('Sign in')
                  end
  
              describe "after signing in" do
                  before do
                      valid_signin user, no_visit: true
                  end
  
                  it "should render the desired protected page" do
                      expect(page).to have_title('Edit user')
                  end
  </code></pre>
  
  <p>Or should I be thinking in a different way about integration tests ?</p>