Sha256: 52698ca5c0cf8e322c32295b5eab4a1f756bf1a0ec0f54c60d2503604e9c2c02

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

require 'spec_helper'

describe K4compiler do

  describe ".setup" do

    it "should return K4compiler instance" do
      K4compiler.setup.should be_instance_of(K4compiler::Compiler)
    end

    it "should config instance in block at block given" do
      K4compiler.setup do |config|
        config.should be_instance_of(K4compiler::Config)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
k4compiler-0.0.1 spec/k4compiler_spec.rb