Sha256: b00e40c7b638660b8e0ffc7a3cabca73a7d915d66eafd3ea3abe68b9863d915c

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

require File.dirname(__FILE__) + "/spec_helper"

describe <%= "#{appname.camelcase}::#{response_class}" %> do
  it "should make an instance of itself via from_xml" do
    file = "spec/xml/<%= response_xml %>"
    xml = File.read("#{file}")
    
    <%= response_class %>.from_xml(xml).should_not be_blank
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
woahdae-consumer-0.8.1 consumer_generators/request/templates/spec/response_spec.rb
woahdae-consumer-0.8.2 consumer_generators/request/templates/spec/response_spec.rb