Sha256: 72e10f449a4ae6cb32252d5131b21f15d693e44decacf0da218e0d2fe4a9c5c0

Contents?: true

Size: 238 Bytes

Versions: 2

Compression:

Stored size: 238 Bytes

Contents

require 'spec_helper'

module Sucker
  describe Config do
    describe "#configure" do
      it "yields itself" do
        subject.should_receive(:configure).and_yield(Config)
        subject.configure { |c| }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sucker-2.1.0 spec/sucker/config_spec.rb
sucker-2.0.0 spec/sucker/config_spec.rb