vendor/plugins/rspec_on_rails_on_crack/lib/rspec_on_rails_on_crack/controller_example_group_methods.rb
def it_renders_blank(options = {})
      it "renders a blank response" do
        acting do |response|
          asserts_status options[:status]
          response.body.strip.should be_blank
        end
      end
    end
# Creates 2 examples:  One to check that the body is blank,
# and the other to check the status.  It looks for one option:
# :status.  If unset, it checks that that the response was a success.
# Otherwise it takes an integer or a symbol and matches the status code.
#
#   it_renders :blank
#   it_renders :blank, :status => :not_found
#
Creates 2 examples:  One to check that the body is blank,
and the other to check the status.  It looks for one option:
:status.  If unset, it checks that that the response was a success.
Otherwise it takes an integer or a symbol and matches the status code.


Creates 2 examples : One to check that the body is blank and the other to check the status . It looks for one option : : status . If unset it checks that that the response was a success . Otherwise it takes an integer or a symbol and matches the status code .
def it_renders_blank(options = {})
      it "renders a blank response" do
        acting do |response|
          asserts_status options[:status]
          response.body.strip.should be_blank
        end
      end
    end
def it_renders_blank ( options = { } ) it "renders a blank response" do acting do | response | asserts_status options [ :status ] response . body . strip . should be_blank end end end
Creates 2 examples:  One to check that the body is blank,
and the other to check the status.
Creates 2 examples : One to check that the body is blank and the other to check the status .
options