spec/vendorer_spec.rb in vendorer-0.1.6 vs spec/vendorer_spec.rb in vendorer-0.1.7

- old
+ new

@@ -72,9 +72,16 @@ vendorer ls('public/javascripts').should == ["jquery.min.js"] read('public/javascripts/jquery.min.js').should include('jQuery') end + it "can download a file via redirect" do + # old github raw urls are redirected + write 'Vendorfile', "file 'xxx', 'https://github.com/grosser/vendorer/raw/master/Gemfile'" + vendorer + read('xxx').should include('rspec') + end + it "does not update an existing file" do simple_vendorfile vendorer write('public/javascripts/jquery.min.js', 'Foo') vendorer