Sha256: 083b21e2650e7ec589958c8106ff8176cf21f2c4dd8098ba423697425a45825a

Contents?: true

Size: 403 Bytes

Versions: 6

Compression:

Stored size: 403 Bytes

Contents

require 'spec_helper'

describe Navigasmic do

  it "is a module" do
    Navigasmic.should be_a(Module)
  end

  it "has a version" do
    Navigasmic::VERSION.should be_a(String)
  end

  it "defines ViewHelpers" do
    Navigasmic::ViewHelpers.should be_a(Module)
  end

  it "includes ViewHelpers in ActionView::Base" do
    ActionView::Base.new.methods.should include(:semantic_navigation)
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
navigasmic-1.1.0 spec/rails/engine_spec.rb
navigasmic-1.0.5 spec/rails/engine_spec.rb
navigasmic-1.0.4 spec/rails/engine_spec.rb
navigasmic-1.0.3 spec/rails/engine_spec.rb
navigasmic-1.0.2 spec/rails/engine_spec.rb
navigasmic-1.0.1 spec/rails/engine_spec.rb