Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 599 Bytes
require 'spec_helper'
require 'appraisal/appraisal'
describe Appraisal::Appraisal do
it "creates a proper bundle command" do
appraisal ='fake', 'fake')
appraisal.stub(:gemfile_path).and_return("/home/test/test directory")
appraisal.bundle_command.should == "bundle install --gemfile='/home/test/test directory'"
it "cleans up spaces and punctunation when outputting its gemfile" do
appraisal ="This! is my appraisal name.", "Gemfile")
appraisal.gemfile_path.should =~ /This_is_my_appraisal_name.gemfile/
Something went wrong with that request. Please try again.