diff --git a/spec/lib/veracode/builds_spec.rb b/spec/lib/veracode/builds_spec.rb index ebe3572..82b9e8c 100644 --- a/spec/lib/veracode/builds_spec.rb +++ b/spec/lib/veracode/builds_spec.rb @@ -1,7 +1,7 @@ require (File.expand_path('./../../../spec_helper', __FILE__)) describe Veracode::Results do - describe "GET profile" do + describe "GET builds" do let(:veracode) { Veracode::Results.new(:username => "test", :password => "test") } diff --git a/spec/lib/veracode/detailed_spec.rb b/spec/lib/veracode/detailed_spec.rb index 3aef44c..633ae76 100644 --- a/spec/lib/veracode/detailed_spec.rb +++ b/spec/lib/veracode/detailed_spec.rb @@ -13,7 +13,7 @@ VCR.eject_cassette end - it "must have a get_application_builds method" do + it "must have a get_detailed_report method" do veracode.must_respond_to :get_detailed_report end diff --git a/spec/lib/veracode/summary_spec.rb b/spec/lib/veracode/summary_spec.rb index c3e7e08..c95e496 100644 --- a/spec/lib/veracode/summary_spec.rb +++ b/spec/lib/veracode/summary_spec.rb @@ -13,6 +13,10 @@ VCR.eject_cassette end + it "must have a get_summary_report method" do + veracode.must_respond_to :get_summary_report + end + it "must parse the api response from XML to Veracode::Result::SummaryReport" do veracode.get_summary_report("44905").must_be_instance_of Veracode::Result::SummaryReport end