Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add spec for cleaning up appraisal name

  • Loading branch information...
commit 1d4fa937ef73d18e9b7045dd6328da6019f38581 1 parent b21220a
@osheroff osheroff authored gabebw committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 spec/appraisal/appraisal_spec.rb
View
5 spec/appraisal/appraisal_spec.rb
@@ -8,4 +8,9 @@
appraisal.bundle_command.should == "bundle install --gemfile='/home/test/test directory'"
end
+
+ it "cleans up spaces and punctunation when outputting its gemfile" do
+ appraisal = Appraisal::Appraisal.new("This! is my appraisal name.", "Gemfile")
+ appraisal.gemfile_path.should =~ /This_is_my_appraisal_name.gemfile/
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.