Sha256: b1339d5112c6c33c50027063d18df743b70027668ffb1e542f7043077b8858cc

Contents?: true

Size: 273 Bytes

Versions: 7

Compression:

Stored size: 273 Bytes

Contents

require 'spec_helper'

describe DynamicFormModel do
  it "can be instantiated" do
    DynamicFormModel.new.should be_an_instance_of(DynamicFormModel)
  end

  it "can be saved successfully" do
    DynamicFormModel.create(:model_name => 'Test').should be_persisted
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
erp_forms-3.1.2 spec/models/dynamic_form_model_spec.rb
erp_forms-3.1.1 spec/models/dynamic_form_model_spec.rb
erp_forms-3.1.0 spec/models/dynamic_form_model_spec.rb
erp_forms-3.0.2 spec/models/dynamic_form_model_spec.rb
erp_forms-3.0.1 spec/models/dynamic_form_model_spec.rb
erp_forms-3.0.0 spec/models/dynamic_form_model_spec.rb
erp_forms-2.1.0 spec/models/dynamic_form_model_spec.rb