Sha256: add3b5890b76ed1669c4458891e02478205548ed0d8f32e2d934f048ff462708
Contents?: true
Size: 677 Bytes
Versions: 7
Compression:
Stored size: 677 Bytes
Contents
require 'spec_helper' describe 'model without orm' do use_orm :none use_helper :model before :each do RailsAssist::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
7 entries across 7 versions & 1 rubygems