Sha256: ce7d21ee532b5cab2edfc2bcfcc91b84ae9c886dae260cac21d367cbc3dce7dc

Contents?: true

Size: 600 Bytes

Versions: 6

Compression:

Stored size: 600 Bytes

Contents

require 'spec_helper'

describe 'Navigasmic::Builder::Base', type: :helper do

  subject { Navigasmic::Builder::Base.new(helper, :primary, {}) {} }

  describe "#group" do

    it "raises" do
      lambda { subject.group }.should raise_error('Expected subclass to implement group')
    end

  end

  describe "#item" do

    it "raises" do
      lambda { subject.item }.should raise_error('Expected subclass to implement item')
    end

  end

  describe "#render" do

    it "raises" do
      lambda { subject.render }.should raise_error('Expected subclass to implement render')
    end

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
navigasmic-1.1.0 spec/core/builder_spec.rb
navigasmic-1.0.5 spec/core/builder_spec.rb
navigasmic-1.0.4 spec/core/builder_spec.rb
navigasmic-1.0.3 spec/core/builder_spec.rb
navigasmic-1.0.2 spec/core/builder_spec.rb
navigasmic-1.0.1 spec/core/builder_spec.rb