Skip to content

Commit

Permalink
add test for bundle command creation
Browse files Browse the repository at this point in the history
  • Loading branch information
gregors committed Mar 18, 2012
1 parent 432138b commit 8023273
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/appraisal/appraisal_spec.rb
@@ -0,0 +1,12 @@
require 'spec_helper'
require 'appraisal/appraisal'

describe Appraisal::Appraisal do
it "creates a proper bundle command" do
appraisal = Appraisal::Appraisal.new('fake', 'fake')
appraisal.stub(:gemfile_path)
.and_return("/home/test/test directory")

appraisal.bundle_command.should == "bundle install --gemfile='/home/test/test directory'"
end
end

0 comments on commit 8023273

Please sign in to comment.