Skip to content

Commit

Permalink
add spec for cleaning up appraisal name
Browse files Browse the repository at this point in the history
  • Loading branch information
osheroff authored and Gabe Berke-Williams committed Mar 25, 2012
1 parent b21220a commit 1d4fa93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/appraisal/appraisal_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1d4fa93

Please sign in to comment.