Sha256: 38f92a55fcd95fe21380bf6bfeac4d4b8dd21b77bce765854794a184d8cec6b6
Contents?: true
Size: 466 Bytes
Versions: 14
Compression:
Stored size: 466 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "spec_helper") require 'fileutils' module Wally describe Project do it "stores a name" do Project.create(:name => "project1") Project.first.name.should == "project1" end it "stores features" do Project.create({:name => "project2", :features => [ Feature.new(:path => "feature/path") ]}) Project.first.features.first.path.should == "feature/path" end end end
Version data entries
14 entries across 14 versions & 1 rubygems