Sha256: 574a0338333399d36281082e23bded6526b548c1a20d4303643af5cac69371c4

Contents?: true

Size: 730 Bytes

Versions: 7

Compression:

Stored size: 730 Bytes

Contents

require 'spec_helper'
require 'ore/project'

shared_examples_for 'an Ore Project' do
  it "should have project files" do
    @project.project_files.should_not be_empty
  end

  it "should have a name" do
    @project.name.should_not be_nil
  end

  it "should have a namespace" do
    @project.namespace.should_not be_nil
  end

  it "should have a version" do
    @project.version.major.should == 1
    @project.version.minor.should == 2
    @project.version.patch.should == 3
  end

  it "should have a summary" do
    @project.summary.should_not be_nil
  end

  it "should have a description" do
    @project.description.should_not be_nil
  end

  it "should have authors" do
    @project.authors.should_not be_empty
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ore-0.2.3 spec/projects/project_examples.rb
ore-0.2.2 spec/projects/project_examples.rb
ore-0.2.1 spec/projects/project_examples.rb
ore-0.2.0 spec/projects/project_examples.rb
ore-0.1.4 spec/projects/project_examples.rb
ore-0.1.3 spec/projects/project_examples.rb
ore-0.1.2 spec/projects/project_examples.rb