Sha256: 576ecfc9ef3192795433d288b878a22028ef9b6d221beab60ba94ae88803803f

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

require 'spec_helper'

describe Earl do


  describe '##new' do
    subject { Earl.new('http://test.host/') }
    its(:to_s) { should eql('http://test.host/') }
  end

  describe '[]=' do
    subject { Earl['http://test.host/'] }
    its(:to_s) { should eql('http://test.host/') }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
earl-1.0.0 spec/unit/earl/earl_spec.rb