Sha256: d8e965f1f8893fdfddc087411fe49f89df4d66e32845f79271f00d8088236270

Contents?: true

Size: 272 Bytes

Versions: 9

Compression:

Stored size: 272 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '<%= '/..' * controller_class_nesting_depth %>/../spec_helper')

describe <%= class_name %> do

  it "should be valid" do
    <%= file_name %> = Factory(:<%= file_name %>)
    <%= file_name %>.should be_valid
  end
  
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
Objective3-objective_spec-0.0.2 generators/objective_resource/templates/rspec/unit_spec.rb
Objective3-objective_spec-0.0.3 generators/objective_resource/templates/rspec/unit_spec.rb
Objective3-objective_spec-0.0.4 generators/objective_resource/templates/rspec/unit_spec.rb
Objective3-objective_spec-0.1.2 generators/objective_resource/templates/rspec/unit_spec.rb
Objective3-objective_spec-0.1.3 generators/objective_resource/templates/rspec/unit_spec.rb
Objective3-objective_spec-0.1.4 generators/objective_resource/templates/rspec/unit_spec.rb
objective_spec-0.3.1 generators/objective_resource/templates/rspec/unit_spec.rb
objective_spec-0.3.0 generators/objective_resource/templates/rspec/unit_spec.rb
objective_spec-0.2.0 generators/objective_resource/templates/rspec/unit_spec.rb