Sha256: c3950f9d348f9ec571029a789d34a68f45b0dc3fbab395ccde586f9cf83dcbdd

Contents?: true

Size: 838 Bytes

Versions: 6

Compression:

Stored size: 838 Bytes

Contents

require 'spec_helper'
require 'helpers/projects'
require 'projects/project_examples'

describe "Explicit project" do
  include Helpers::Projects

  before(:all) do
    @project = project('explicit')
  end

  it_should_behave_like 'an Ore Project'

  it "should have a namespace directory" do
    @project.namespace_dir.should == 'explicit'
  end

  it "should have a license" do
    @project.license.should == 'MIT'
  end

  it "should have a licenses" do
    @project.licenses.should == ['MIT']
  end

  it "should have a post-install message" do
    @project.post_install_message.should_not be_empty
  end

  it "should have a required Ruby version" do
    @project.required_ruby_version.should == '>= 1.8.7'
  end

  it "should have a required RubyGems version" do
    @project.required_rubygems_version.should == '>= 1.3.7'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ore-core-0.1.5 spec/projects/explicit_project_spec.rb
ore-core-0.1.4 spec/projects/explicit_project_spec.rb
ore-core-0.1.3 spec/projects/explicit_project_spec.rb
ore-core-0.1.2 spec/projects/explicit_project_spec.rb
ore-core-0.1.1 spec/projects/explicit_project_spec.rb
ore-core-0.1.0 spec/projects/explicit_project_spec.rb