Sha256: 7e4e9c42c25ec6803df4170617387ca622bfab8854cf7e5cac370c30e7e0b2c6

Contents?: true

Size: 368 Bytes

Versions: 4

Compression:

Stored size: 368 Bytes

Contents

require 'spec_helper'

describe MountDoc do
  it "defined Rails" do
    subject.const_defined?(:Rails).should be_true
  end

  it "defined Engine of Rails::Engine subclass" do
    subject.const_get(:Engine).should be_kind_of Class
    MountDoc::Engine.superclass.should == ::Rails::Engine
  end

  describe MountDoc::Rails do
    subject { MountDoc::Rails }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mount_doc-1.0.0 spec/lib/mount_doc/rails_spec.rb
mount_doc-0.0.3 spec/lib/mount_doc/rails_spec.rb
mount_doc-0.0.2 spec/lib/mount_doc/rails_spec.rb
mount_doc-0.0.1 spec/lib/mount_doc/rails_spec.rb