spec/quality_spec.rb in mango-0.5.0.beta1 vs spec/quality_spec.rb in mango-0.5.0.beta2
- old
+ new
@@ -4,11 +4,11 @@
describe "This project's" do
#################################################################################################
describe "git tracked files" do
- it "should have no malformed whitespace" do
+ it "has 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
@@ -18,10 +18,10 @@
end
#################################################################################################
describe Gem::Specification do
- it "should build" do
+ it "builds a .gem successfully" do
Dir.chdir(PROJECT_ROOT) do
`gem build mango.gemspec`
$?.should == 0
`rm mango-#{Mango::VERSION}.gem`
end