title: undefined method `it' in RSpec::Core::ExampleGroup::Nested_2
body: <p>I have this error when I tried to implement "Fakeweb" and I do not understand the problem.</p>
  
  <p>Scenario:
  "After user had filled in all the information, the system will use one of the attributes "fbid" for validation and if success then only a new company will be created, if not the process will fail."</p>
  
  <pre><code>Failures:
  1) Companies new company create with valid information correct facebook id validates facebook id
   Failure/Error: it "should create a company" do
   NoMethodError:
     undefined method `it' for #&lt;RSpec::Core::ExampleGroup::Nested_2::Nested_3::Nested_1::Nested_1:0x00000102fb84e0&gt;
   # ./spec/requests/companies_spec.rb:40:in `block (5 levels) in &lt;top (required)&gt;'
  </code></pre>
  
  <p>companies_spec.rb</p>
  
  <pre><code>    describe "correct facebook id" do               
          #validate fbid
          it "validates facebook id" do
              FakeWeb.register_uri(:head, "http://graph.facebook.com/examplecompany", :username =&gt; 'examplecompany')
              Company.new(:url =&gt; "http://graph.facebook.com/examplecompany").fb_id_string.should eq('examplecompany')
  
              it "should create a company" do 
                  expect { click_button submit }.to change(Company, :count).by(1)
              end
  </code></pre>
  
  <p>model/company.rb</p>
  
  <pre><code>def fb_id_string
      uri = URI.parse(url)
      response = Net::HTTP.start(uri.host, uri.port) { |http| http.request_head(uri.path) }
      response["username"].to_str
  end    
  </code></pre>
  
  <p>end      </p>