Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add spec for cleaning up appraisal name

  • Loading branch information...
commit 1d4fa937ef73d18e9b7045dd6328da6019f38581 1 parent b21220a
Ben Osheroff authored March 24, 2012 gabebw committed March 25, 2012

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  spec/appraisal/appraisal_spec.rb
5  spec/appraisal/appraisal_spec.rb
@@ -8,4 +8,9 @@
8 8
 
9 9
     appraisal.bundle_command.should == "bundle install --gemfile='/home/test/test directory'"
10 10
   end
  11
+
  12
+  it "cleans up spaces and punctunation when outputting its gemfile" do
  13
+    appraisal = Appraisal::Appraisal.new("This! is my appraisal name.", "Gemfile")
  14
+    appraisal.gemfile_path.should =~ /This_is_my_appraisal_name.gemfile/
  15
+  end
11 16
 end

0 notes on commit 1d4fa93

Please sign in to comment.
Something went wrong with that request. Please try again.