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

Version Path
wally-0.0.47 spec/wally/project_spec.rb
wally-0.0.46 spec/wally/project_spec.rb
wally-0.0.45 spec/wally/project_spec.rb
wally-0.0.44 spec/wally/project_spec.rb
wally-0.0.43 spec/wally/project_spec.rb
wally-0.0.42 spec/wally/project_spec.rb
wally-0.0.41 spec/wally/project_spec.rb
wally-0.0.40 spec/wally/project_spec.rb
wally-0.0.39 spec/wally/project_spec.rb
wally-0.0.38 spec/wally/project_spec.rb
wally-0.0.37 spec/wally/project_spec.rb
wally-0.0.36 spec/wally/project_spec.rb
wally-0.0.35 spec/wally/project_spec.rb
wally-0.0.34 spec/wally/project_spec.rb