Sha256: b6d459c4f68559d232e161c0eb5d8141e8b9487cef3855677da9fa4d9a6d4a2e

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

require 'spec_helper'

describe Formulaic::Dsl do
  it 'responds to input' do
    expect(object_with_dsl).to respond_to(:input)
  end

  it 'responds to fill_form' do
    expect(object_with_dsl).to respond_to(:fill_form)
  end

  def object_with_dsl
    @object_with_dsl ||= Class.new do
      include Formulaic::Dsl
    end.new
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formulaic-0.0.3 spec/formulaic/dsl_spec.rb