Sha256: 4ed73d8a1bd8905ab317b35c9945edeeea407999729245cfafb36efbb09b0758

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

require 'spec_helper'

describe Rake::Builder do
  include RakeBuilderHelper

  def builder(type)
    c_task(type)
  end

  [
    [:static_library, true],
    [:shared_library, true],
    [:executable,     false]
  ].each do |type, is_library|
    example type do
      expect(builder(type).is_library?).to eq(is_library)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rake-builder-0.7.0 spec/project_spec.rb
rake-builder-0.0.19 spec/project_spec.rb
rake-builder-0.0.18 spec/project_spec.rb