Sha256: ef1620d0947c6a8a5a3d125ea41d02a1c433aced75226f03e2d23b5a41323872
Contents?: true
Size: 680 Bytes
Versions: 17
Compression:
Stored size: 680 Bytes
Contents
require 'spec_helper' describe 'model without orm' do use_orm :none use_helper :model before :each do Rails3::Assist::Directory.rails_root = fixtures_dir end after :each do # remove_model :account end describe '#new_artifact_content' do it "should create artifact content" do content = new_artifact_content :person, :content => '# Hello', :type => :model content.should have_comment 'Hello' end end describe '#create_artifact' do it "should create artifact" do create_artifact :person, :type => :model do '# Hello' end has_model?(:person).should be_true end end end
Version data entries
17 entries across 17 versions & 1 rubygems