Sha256: 3f1d2670df44d3d3f267fd32ae31267bb8a215d46d18e650d2c1976c221c7bba

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

require 'spec_helper'

class GitWorkflow::Story
  public :service!
end

describe GitWorkflow::Story do
  describe '#service!' do
    it_should_behave_like 'it needs a working Story'

    it 'sets the "Content-Type" header to "text/xml"' do
      @service.should_receive(:put).with(anything, hash_including(:content_type => 'application/xml'))
      @story.service!
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git_workflow-0.0.5 spec/pivotal_tracker_api/4056661_content_type_header_should_be_text_xml_on_updates_spec.rb