18 lines
337 B
Ruby
18 lines
337 B
Ruby
require "spec_helper"
|
|
|
|
describe "bundle install with deprecated features" do
|
|
before :each do
|
|
in_app_root
|
|
end
|
|
|
|
it "reports that lib is an invalid option" do
|
|
gemfile <<-G
|
|
gem "rack", :lib => "rack"
|
|
G
|
|
|
|
bundle :install
|
|
out.should =~ /You passed :lib as an option for gem 'rack', but it is invalid/
|
|
end
|
|
|
|
end
|