RSpec.describe Rambo::RamlModels::Method do
  let(:raml_file) { File.expand_path("../../../support/foo.raml", __FILE__) }
  let(:raml) { Raml::Parser.parse_file(raml_file) }
  let(:method) { raml.resources.first.methods.first }

  subject { described_class.new(method) }

  describe "#to_s" do
    it "returns the method name" do
      expect(subject.method).to eql method.method
    end
  end

  describe "#description" do
    it "returns the description" do
      expect(subject.description).to eql method.description
    end
  end

  describe "#responses" do
    it "returns an array of Response objects" do
      all_are_responses = subject.responses.all? {|resp| resp.is_a?(Rambo::RamlModels::Response) }
      expect(all_are_responses).to be true
    end
  end
end

RSpec.describe Rambo::RamlModels::Method do
  let(:raml_file) { File.expand_path("../../../support/foo.raml", __FILE__) }
  let(:raml) { Raml::Parser.parse_file(raml_file) }
  let(:method) { raml.resources.first.methods.first }

  subject { described_class.new(method) }

  describe "#to_s" do
    it "returns the method name" do
      expect(subject.method).to eql method.method
    end
  end

  describe "#description" do
    it "returns the description" do
      expect(subject.description).to eql method.description
    end
  end

  describe "#request_body" do
    it "returns a request body" do
      expect(subject.request_body).to be_a Rambo::RamlModels::Body
    end
  end

  describe "#responses" do
    it "returns an array of Response objects" do
      all_are_responses = subject.responses.all? {|resp| resp.is_a?(Rambo::RamlModels::Response) }
      expect(all_are_responses).to be true
    end
  end
end

--- 
+++ 
@@ -17,12 +17,6 @@
     end
   end
 
-  describe "#request_body" do
-    it "returns a request body" do
-      expect(subject.request_body).to be_a Rambo::RamlModels::Body
-    end
-  end
-
   describe "#responses" do
     it "returns an array of Response objects" do
       all_are_responses = subject.responses.all? {|resp| resp.is_a?(Rambo::RamlModels::Response) }
Delete that new test because it fucked shit up
