Sha256: 53d133d6a44e3ca57bca55f7fc4192980bbb0f19835ba9a67da143d1ba14e5d6
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
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 describe "RubyGems" do it "should be able to create a Gem::Specification" do Dir.chdir(@project.root) do @project.to_gemspec.validate.should == true end end it "should be able to build a .gem package" do Dir.chdir(@project.root) do @project.to_gem.should be_file end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ore-core-0.1.5 | spec/projects/project_examples.rb |