Sha256: 0bb76ed9a691f39246c557a29f2eb8d8c8e59d1c5e2710d8c3d5e32d6845ba5f

Contents?: true

Size: 871 Bytes

Versions: 9

Compression:

Stored size: 871 Bytes

Contents

# encoding: UTF-8
require "spec_helper"

describe "This project's" do

  #################################################################################################

  describe "git-tracked files" do
    it "contain no malformed whitespace" do
      Dir.chdir(PROJECT_ROOT) do
        `git ls-files`.split("\n").each do |tracked_file|
          next if tracked_file =~ /\.jpg|\.gif/
          tracked_file.should_not contain_tab_characters
          tracked_file.should_not contain_extra_spaces
        end
      end
    end
  end

  #################################################################################################

  describe Gem::Specification do
    it "builds a .gem successfully" do
      Dir.chdir(PROJECT_ROOT) do
        `gem build mango.gemspec`
        $?.should == 0
        `rm mango-#{Mango::VERSION}.gem`
      end
    end
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mango-0.6.3 spec/quality_spec.rb
mango-0.6.2 spec/quality_spec.rb
mango-0.6.1 spec/quality_spec.rb
mango-0.6.0 spec/quality_spec.rb
mango-0.5.4 spec/quality_spec.rb
mango-0.5.3 spec/quality_spec.rb
mango-0.5.2 spec/quality_spec.rb
mango-0.5.1 spec/quality_spec.rb
mango-0.5.0 spec/quality_spec.rb