Sha256: 8d17ccb0dc5304d91924f8e9daa601a993fcb30429cbcf7e70fa7fd46484a2b9
Contents?: true
Size: 390 Bytes
Versions: 4
Compression:
Stored size: 390 Bytes
Contents
require 'spec_helper' describe MountDoc::Document do describe "initialize from file" do it "controller" do doc = MountDoc::Document.new(:controller, "api::documents") doc.doc_object.name.should == :DocumentsController end it "model" do doc = MountDoc::Document.new(:model, "api::document") doc.doc_object.name.should == :Document end end end
Version data entries
4 entries across 4 versions & 1 rubygems